{
 "cells": [
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "# EDA Case Study: Titanic"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "## 1. Task Description\n",
    "Titanic is a classical Kaggle competition. The task is to predicts which passengers survived the Titanic shipwreck. For more detail, refer to https://www.kaggle.com/c/titanic/overview/description."
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "## 2. Goal of this notebook\n",
    "As it is a famous competition, there exists lots of excelent analysis on how to do eda and how to build model for this task. See https://www.kaggle.com/startupsci/titanic-data-science-solutions for a reference. **In this notebook, we will show how dataprep.eda can simplify the eda process using a few lines of code.**"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "## 3. Load data"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 1,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "application/javascript": [
       "\n",
       "(function(root) {\n",
       "  function now() {\n",
       "    return new Date();\n",
       "  }\n",
       "\n",
       "  var force = true;\n",
       "\n",
       "  if (typeof root._bokeh_onload_callbacks === \"undefined\" || force === true) {\n",
       "    root._bokeh_onload_callbacks = [];\n",
       "    root._bokeh_is_loading = undefined;\n",
       "  }\n",
       "\n",
       "  var JS_MIME_TYPE = 'application/javascript';\n",
       "  var HTML_MIME_TYPE = 'text/html';\n",
       "  var EXEC_MIME_TYPE = 'application/vnd.bokehjs_exec.v0+json';\n",
       "  var CLASS_NAME = 'output_bokeh rendered_html';\n",
       "\n",
       "  /**\n",
       "   * Render data to the DOM node\n",
       "   */\n",
       "  function render(props, node) {\n",
       "    var script = document.createElement(\"script\");\n",
       "    node.appendChild(script);\n",
       "  }\n",
       "\n",
       "  /**\n",
       "   * Handle when an output is cleared or removed\n",
       "   */\n",
       "  function handleClearOutput(event, handle) {\n",
       "    var cell = handle.cell;\n",
       "\n",
       "    var id = cell.output_area._bokeh_element_id;\n",
       "    var server_id = cell.output_area._bokeh_server_id;\n",
       "    // Clean up Bokeh references\n",
       "    if (id != null && id in Bokeh.index) {\n",
       "      Bokeh.index[id].model.document.clear();\n",
       "      delete Bokeh.index[id];\n",
       "    }\n",
       "\n",
       "    if (server_id !== undefined) {\n",
       "      // Clean up Bokeh references\n",
       "      var cmd = \"from bokeh.io.state import curstate; print(curstate().uuid_to_server['\" + server_id + \"'].get_sessions()[0].document.roots[0]._id)\";\n",
       "      cell.notebook.kernel.execute(cmd, {\n",
       "        iopub: {\n",
       "          output: function(msg) {\n",
       "            var id = msg.content.text.trim();\n",
       "            if (id in Bokeh.index) {\n",
       "              Bokeh.index[id].model.document.clear();\n",
       "              delete Bokeh.index[id];\n",
       "            }\n",
       "          }\n",
       "        }\n",
       "      });\n",
       "      // Destroy server and session\n",
       "      var cmd = \"import bokeh.io.notebook as ion; ion.destroy_server('\" + server_id + \"')\";\n",
       "      cell.notebook.kernel.execute(cmd);\n",
       "    }\n",
       "  }\n",
       "\n",
       "  /**\n",
       "   * Handle when a new output is added\n",
       "   */\n",
       "  function handleAddOutput(event, handle) {\n",
       "    var output_area = handle.output_area;\n",
       "    var output = handle.output;\n",
       "\n",
       "    // limit handleAddOutput to display_data with EXEC_MIME_TYPE content only\n",
       "    if ((output.output_type != \"display_data\") || (!output.data.hasOwnProperty(EXEC_MIME_TYPE))) {\n",
       "      return\n",
       "    }\n",
       "\n",
       "    var toinsert = output_area.element.find(\".\" + CLASS_NAME.split(' ')[0]);\n",
       "\n",
       "    if (output.metadata[EXEC_MIME_TYPE][\"id\"] !== undefined) {\n",
       "      toinsert[toinsert.length - 1].firstChild.textContent = output.data[JS_MIME_TYPE];\n",
       "      // store reference to embed id on output_area\n",
       "      output_area._bokeh_element_id = output.metadata[EXEC_MIME_TYPE][\"id\"];\n",
       "    }\n",
       "    if (output.metadata[EXEC_MIME_TYPE][\"server_id\"] !== undefined) {\n",
       "      var bk_div = document.createElement(\"div\");\n",
       "      bk_div.innerHTML = output.data[HTML_MIME_TYPE];\n",
       "      var script_attrs = bk_div.children[0].attributes;\n",
       "      for (var i = 0; i < script_attrs.length; i++) {\n",
       "        toinsert[toinsert.length - 1].firstChild.setAttribute(script_attrs[i].name, script_attrs[i].value);\n",
       "      }\n",
       "      // store reference to server id on output_area\n",
       "      output_area._bokeh_server_id = output.metadata[EXEC_MIME_TYPE][\"server_id\"];\n",
       "    }\n",
       "  }\n",
       "\n",
       "  function register_renderer(events, OutputArea) {\n",
       "\n",
       "    function append_mime(data, metadata, element) {\n",
       "      // create a DOM node to render to\n",
       "      var toinsert = this.create_output_subarea(\n",
       "        metadata,\n",
       "        CLASS_NAME,\n",
       "        EXEC_MIME_TYPE\n",
       "      );\n",
       "      this.keyboard_manager.register_events(toinsert);\n",
       "      // Render to node\n",
       "      var props = {data: data, metadata: metadata[EXEC_MIME_TYPE]};\n",
       "      render(props, toinsert[toinsert.length - 1]);\n",
       "      element.append(toinsert);\n",
       "      return toinsert\n",
       "    }\n",
       "\n",
       "    /* Handle when an output is cleared or removed */\n",
       "    events.on('clear_output.CodeCell', handleClearOutput);\n",
       "    events.on('delete.Cell', handleClearOutput);\n",
       "\n",
       "    /* Handle when a new output is added */\n",
       "    events.on('output_added.OutputArea', handleAddOutput);\n",
       "\n",
       "    /**\n",
       "     * Register the mime type and append_mime function with output_area\n",
       "     */\n",
       "    OutputArea.prototype.register_mime_type(EXEC_MIME_TYPE, append_mime, {\n",
       "      /* Is output safe? */\n",
       "      safe: true,\n",
       "      /* Index of renderer in `output_area.display_order` */\n",
       "      index: 0\n",
       "    });\n",
       "  }\n",
       "\n",
       "  // register the mime type if in Jupyter Notebook environment and previously unregistered\n",
       "  if (root.Jupyter !== undefined) {\n",
       "    var events = require('base/js/events');\n",
       "    var OutputArea = require('notebook/js/outputarea').OutputArea;\n",
       "\n",
       "    if (OutputArea.prototype.mime_types().indexOf(EXEC_MIME_TYPE) == -1) {\n",
       "      register_renderer(events, OutputArea);\n",
       "    }\n",
       "  }\n",
       "\n",
       "  \n",
       "  if (typeof (root._bokeh_timeout) === \"undefined\" || force === true) {\n",
       "    root._bokeh_timeout = Date.now() + 5000;\n",
       "    root._bokeh_failed_load = false;\n",
       "  }\n",
       "\n",
       "  var NB_LOAD_WARNING = {'data': {'text/html':\n",
       "     \"<div style='background-color: #fdd'>\\n\"+\n",
       "     \"<p>\\n\"+\n",
       "     \"BokehJS does not appear to have successfully loaded. If loading BokehJS from CDN, this \\n\"+\n",
       "     \"may be due to a slow or bad network connection. Possible fixes:\\n\"+\n",
       "     \"</p>\\n\"+\n",
       "     \"<ul>\\n\"+\n",
       "     \"<li>re-rerun `output_notebook()` to attempt to load from CDN again, or</li>\\n\"+\n",
       "     \"<li>use INLINE resources instead, as so:</li>\\n\"+\n",
       "     \"</ul>\\n\"+\n",
       "     \"<code>\\n\"+\n",
       "     \"from bokeh.resources import INLINE\\n\"+\n",
       "     \"output_notebook(resources=INLINE)\\n\"+\n",
       "     \"</code>\\n\"+\n",
       "     \"</div>\"}};\n",
       "\n",
       "  function display_loaded() {\n",
       "    var el = document.getElementById(null);\n",
       "    if (el != null) {\n",
       "      el.textContent = \"BokehJS is loading...\";\n",
       "    }\n",
       "    if (root.Bokeh !== undefined) {\n",
       "      if (el != null) {\n",
       "        el.textContent = \"BokehJS \" + root.Bokeh.version + \" successfully loaded.\";\n",
       "      }\n",
       "    } else if (Date.now() < root._bokeh_timeout) {\n",
       "      setTimeout(display_loaded, 100)\n",
       "    }\n",
       "  }\n",
       "\n",
       "\n",
       "  function run_callbacks() {\n",
       "    try {\n",
       "      root._bokeh_onload_callbacks.forEach(function(callback) {\n",
       "        if (callback != null)\n",
       "          callback();\n",
       "      });\n",
       "    } finally {\n",
       "      delete root._bokeh_onload_callbacks\n",
       "    }\n",
       "    console.debug(\"Bokeh: all callbacks have finished\");\n",
       "  }\n",
       "\n",
       "  function load_libs(css_urls, js_urls, callback) {\n",
       "    if (css_urls == null) css_urls = [];\n",
       "    if (js_urls == null) js_urls = [];\n",
       "\n",
       "    root._bokeh_onload_callbacks.push(callback);\n",
       "    if (root._bokeh_is_loading > 0) {\n",
       "      console.debug(\"Bokeh: BokehJS is being loaded, scheduling callback at\", now());\n",
       "      return null;\n",
       "    }\n",
       "    if (js_urls == null || js_urls.length === 0) {\n",
       "      run_callbacks();\n",
       "      return null;\n",
       "    }\n",
       "    console.debug(\"Bokeh: BokehJS not loaded, scheduling load and callback at\", now());\n",
       "    root._bokeh_is_loading = css_urls.length + js_urls.length;\n",
       "\n",
       "    function on_load() {\n",
       "      root._bokeh_is_loading--;\n",
       "      if (root._bokeh_is_loading === 0) {\n",
       "        console.debug(\"Bokeh: all BokehJS libraries/stylesheets loaded\");\n",
       "        run_callbacks()\n",
       "      }\n",
       "    }\n",
       "\n",
       "    function on_error() {\n",
       "      console.error(\"failed to load \" + url);\n",
       "    }\n",
       "\n",
       "    for (var i = 0; i < css_urls.length; i++) {\n",
       "      var url = css_urls[i];\n",
       "      const element = document.createElement(\"link\");\n",
       "      element.onload = on_load;\n",
       "      element.onerror = on_error;\n",
       "      element.rel = \"stylesheet\";\n",
       "      element.type = \"text/css\";\n",
       "      element.href = url;\n",
       "      console.debug(\"Bokeh: injecting link tag for BokehJS stylesheet: \", url);\n",
       "      document.body.appendChild(element);\n",
       "    }\n",
       "\n",
       "    for (var i = 0; i < js_urls.length; i++) {\n",
       "      var url = js_urls[i];\n",
       "      var element = document.createElement('script');\n",
       "      element.onload = on_load;\n",
       "      element.onerror = on_error;\n",
       "      element.async = false;\n",
       "      element.src = url;\n",
       "      console.debug(\"Bokeh: injecting script tag for BokehJS library: \", url);\n",
       "      document.head.appendChild(element);\n",
       "    }\n",
       "  };\n",
       "\n",
       "  function inject_raw_css(css) {\n",
       "    const element = document.createElement(\"style\");\n",
       "    element.appendChild(document.createTextNode(css));\n",
       "    document.body.appendChild(element);\n",
       "  }\n",
       "\n",
       "  \n",
       "  var js_urls = [\"https://cdn.pydata.org/bokeh/release/bokeh-1.4.0.min.js\", \"https://cdn.pydata.org/bokeh/release/bokeh-widgets-1.4.0.min.js\", \"https://cdn.pydata.org/bokeh/release/bokeh-tables-1.4.0.min.js\", \"https://cdn.pydata.org/bokeh/release/bokeh-gl-1.4.0.min.js\"];\n",
       "  var css_urls = [];\n",
       "  \n",
       "\n",
       "  var inline_js = [\n",
       "    function(Bokeh) {\n",
       "      Bokeh.set_log_level(\"info\");\n",
       "    },\n",
       "    function(Bokeh) {\n",
       "    \n",
       "    \n",
       "    }\n",
       "  ];\n",
       "\n",
       "  function run_inline_js() {\n",
       "    \n",
       "    if (root.Bokeh !== undefined || force === true) {\n",
       "      \n",
       "    for (var i = 0; i < inline_js.length; i++) {\n",
       "      inline_js[i].call(root, root.Bokeh);\n",
       "    }\n",
       "    } else if (Date.now() < root._bokeh_timeout) {\n",
       "      setTimeout(run_inline_js, 100);\n",
       "    } else if (!root._bokeh_failed_load) {\n",
       "      console.log(\"Bokeh: BokehJS failed to load within specified timeout.\");\n",
       "      root._bokeh_failed_load = true;\n",
       "    } else if (force !== true) {\n",
       "      var cell = $(document.getElementById(null)).parents('.cell').data().cell;\n",
       "      cell.output_area.append_execute_result(NB_LOAD_WARNING)\n",
       "    }\n",
       "\n",
       "  }\n",
       "\n",
       "  if (root._bokeh_is_loading === 0) {\n",
       "    console.debug(\"Bokeh: BokehJS loaded, going straight to plotting\");\n",
       "    run_inline_js();\n",
       "  } else {\n",
       "    load_libs(css_urls, js_urls, function() {\n",
       "      console.debug(\"Bokeh: BokehJS plotting callback run at\", now());\n",
       "      run_inline_js();\n",
       "    });\n",
       "  }\n",
       "}(window));"
      ],
      "application/vnd.bokehjs_load.v0+json": "\n(function(root) {\n  function now() {\n    return new Date();\n  }\n\n  var force = true;\n\n  if (typeof root._bokeh_onload_callbacks === \"undefined\" || force === true) {\n    root._bokeh_onload_callbacks = [];\n    root._bokeh_is_loading = undefined;\n  }\n\n  \n\n  \n  if (typeof (root._bokeh_timeout) === \"undefined\" || force === true) {\n    root._bokeh_timeout = Date.now() + 5000;\n    root._bokeh_failed_load = false;\n  }\n\n  var NB_LOAD_WARNING = {'data': {'text/html':\n     \"<div style='background-color: #fdd'>\\n\"+\n     \"<p>\\n\"+\n     \"BokehJS does not appear to have successfully loaded. If loading BokehJS from CDN, this \\n\"+\n     \"may be due to a slow or bad network connection. Possible fixes:\\n\"+\n     \"</p>\\n\"+\n     \"<ul>\\n\"+\n     \"<li>re-rerun `output_notebook()` to attempt to load from CDN again, or</li>\\n\"+\n     \"<li>use INLINE resources instead, as so:</li>\\n\"+\n     \"</ul>\\n\"+\n     \"<code>\\n\"+\n     \"from bokeh.resources import INLINE\\n\"+\n     \"output_notebook(resources=INLINE)\\n\"+\n     \"</code>\\n\"+\n     \"</div>\"}};\n\n  function display_loaded() {\n    var el = document.getElementById(null);\n    if (el != null) {\n      el.textContent = \"BokehJS is loading...\";\n    }\n    if (root.Bokeh !== undefined) {\n      if (el != null) {\n        el.textContent = \"BokehJS \" + root.Bokeh.version + \" successfully loaded.\";\n      }\n    } else if (Date.now() < root._bokeh_timeout) {\n      setTimeout(display_loaded, 100)\n    }\n  }\n\n\n  function run_callbacks() {\n    try {\n      root._bokeh_onload_callbacks.forEach(function(callback) {\n        if (callback != null)\n          callback();\n      });\n    } finally {\n      delete root._bokeh_onload_callbacks\n    }\n    console.debug(\"Bokeh: all callbacks have finished\");\n  }\n\n  function load_libs(css_urls, js_urls, callback) {\n    if (css_urls == null) css_urls = [];\n    if (js_urls == null) js_urls = [];\n\n    root._bokeh_onload_callbacks.push(callback);\n    if (root._bokeh_is_loading > 0) {\n      console.debug(\"Bokeh: BokehJS is being loaded, scheduling callback at\", now());\n      return null;\n    }\n    if (js_urls == null || js_urls.length === 0) {\n      run_callbacks();\n      return null;\n    }\n    console.debug(\"Bokeh: BokehJS not loaded, scheduling load and callback at\", now());\n    root._bokeh_is_loading = css_urls.length + js_urls.length;\n\n    function on_load() {\n      root._bokeh_is_loading--;\n      if (root._bokeh_is_loading === 0) {\n        console.debug(\"Bokeh: all BokehJS libraries/stylesheets loaded\");\n        run_callbacks()\n      }\n    }\n\n    function on_error() {\n      console.error(\"failed to load \" + url);\n    }\n\n    for (var i = 0; i < css_urls.length; i++) {\n      var url = css_urls[i];\n      const element = document.createElement(\"link\");\n      element.onload = on_load;\n      element.onerror = on_error;\n      element.rel = \"stylesheet\";\n      element.type = \"text/css\";\n      element.href = url;\n      console.debug(\"Bokeh: injecting link tag for BokehJS stylesheet: \", url);\n      document.body.appendChild(element);\n    }\n\n    for (var i = 0; i < js_urls.length; i++) {\n      var url = js_urls[i];\n      var element = document.createElement('script');\n      element.onload = on_load;\n      element.onerror = on_error;\n      element.async = false;\n      element.src = url;\n      console.debug(\"Bokeh: injecting script tag for BokehJS library: \", url);\n      document.head.appendChild(element);\n    }\n  };\n\n  function inject_raw_css(css) {\n    const element = document.createElement(\"style\");\n    element.appendChild(document.createTextNode(css));\n    document.body.appendChild(element);\n  }\n\n  \n  var js_urls = [\"https://cdn.pydata.org/bokeh/release/bokeh-1.4.0.min.js\", \"https://cdn.pydata.org/bokeh/release/bokeh-widgets-1.4.0.min.js\", \"https://cdn.pydata.org/bokeh/release/bokeh-tables-1.4.0.min.js\", \"https://cdn.pydata.org/bokeh/release/bokeh-gl-1.4.0.min.js\"];\n  var css_urls = [];\n  \n\n  var inline_js = [\n    function(Bokeh) {\n      Bokeh.set_log_level(\"info\");\n    },\n    function(Bokeh) {\n    \n    \n    }\n  ];\n\n  function run_inline_js() {\n    \n    if (root.Bokeh !== undefined || force === true) {\n      \n    for (var i = 0; i < inline_js.length; i++) {\n      inline_js[i].call(root, root.Bokeh);\n    }\n    } else if (Date.now() < root._bokeh_timeout) {\n      setTimeout(run_inline_js, 100);\n    } else if (!root._bokeh_failed_load) {\n      console.log(\"Bokeh: BokehJS failed to load within specified timeout.\");\n      root._bokeh_failed_load = true;\n    } else if (force !== true) {\n      var cell = $(document.getElementById(null)).parents('.cell').data().cell;\n      cell.output_area.append_execute_result(NB_LOAD_WARNING)\n    }\n\n  }\n\n  if (root._bokeh_is_loading === 0) {\n    console.debug(\"Bokeh: BokehJS loaded, going straight to plotting\");\n    run_inline_js();\n  } else {\n    load_libs(css_urls, js_urls, function() {\n      console.debug(\"Bokeh: BokehJS plotting callback run at\", now());\n      run_inline_js();\n    });\n  }\n}(window));"
     },
     "metadata": {},
     "output_type": "display_data"
    },
    {
     "data": {
      "text/html": [
       "<div>\n",
       "<style scoped>\n",
       "    .dataframe tbody tr th:only-of-type {\n",
       "        vertical-align: middle;\n",
       "    }\n",
       "\n",
       "    .dataframe tbody tr th {\n",
       "        vertical-align: top;\n",
       "    }\n",
       "\n",
       "    .dataframe thead th {\n",
       "        text-align: right;\n",
       "    }\n",
       "</style>\n",
       "<table border=\"1\" class=\"dataframe\">\n",
       "  <thead>\n",
       "    <tr style=\"text-align: right;\">\n",
       "      <th></th>\n",
       "      <th>PassengerId</th>\n",
       "      <th>Survived</th>\n",
       "      <th>Pclass</th>\n",
       "      <th>Name</th>\n",
       "      <th>Sex</th>\n",
       "      <th>Age</th>\n",
       "      <th>SibSp</th>\n",
       "      <th>Parch</th>\n",
       "      <th>Ticket</th>\n",
       "      <th>Fare</th>\n",
       "      <th>Cabin</th>\n",
       "      <th>Embarked</th>\n",
       "    </tr>\n",
       "  </thead>\n",
       "  <tbody>\n",
       "    <tr>\n",
       "      <td>0</td>\n",
       "      <td>1</td>\n",
       "      <td>0</td>\n",
       "      <td>3</td>\n",
       "      <td>Braund, Mr. Owen Harris</td>\n",
       "      <td>male</td>\n",
       "      <td>22.0</td>\n",
       "      <td>1</td>\n",
       "      <td>0</td>\n",
       "      <td>A/5 21171</td>\n",
       "      <td>7.2500</td>\n",
       "      <td>NaN</td>\n",
       "      <td>S</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <td>1</td>\n",
       "      <td>2</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>Cumings, Mrs. John Bradley (Florence Briggs Th...</td>\n",
       "      <td>female</td>\n",
       "      <td>38.0</td>\n",
       "      <td>1</td>\n",
       "      <td>0</td>\n",
       "      <td>PC 17599</td>\n",
       "      <td>71.2833</td>\n",
       "      <td>C85</td>\n",
       "      <td>C</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <td>2</td>\n",
       "      <td>3</td>\n",
       "      <td>1</td>\n",
       "      <td>3</td>\n",
       "      <td>Heikkinen, Miss. Laina</td>\n",
       "      <td>female</td>\n",
       "      <td>26.0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>STON/O2. 3101282</td>\n",
       "      <td>7.9250</td>\n",
       "      <td>NaN</td>\n",
       "      <td>S</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <td>3</td>\n",
       "      <td>4</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>Futrelle, Mrs. Jacques Heath (Lily May Peel)</td>\n",
       "      <td>female</td>\n",
       "      <td>35.0</td>\n",
       "      <td>1</td>\n",
       "      <td>0</td>\n",
       "      <td>113803</td>\n",
       "      <td>53.1000</td>\n",
       "      <td>C123</td>\n",
       "      <td>S</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <td>4</td>\n",
       "      <td>5</td>\n",
       "      <td>0</td>\n",
       "      <td>3</td>\n",
       "      <td>Allen, Mr. William Henry</td>\n",
       "      <td>male</td>\n",
       "      <td>35.0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>373450</td>\n",
       "      <td>8.0500</td>\n",
       "      <td>NaN</td>\n",
       "      <td>S</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <td>886</td>\n",
       "      <td>887</td>\n",
       "      <td>0</td>\n",
       "      <td>2</td>\n",
       "      <td>Montvila, Rev. Juozas</td>\n",
       "      <td>male</td>\n",
       "      <td>27.0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>211536</td>\n",
       "      <td>13.0000</td>\n",
       "      <td>NaN</td>\n",
       "      <td>S</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <td>887</td>\n",
       "      <td>888</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>Graham, Miss. Margaret Edith</td>\n",
       "      <td>female</td>\n",
       "      <td>19.0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>112053</td>\n",
       "      <td>30.0000</td>\n",
       "      <td>B42</td>\n",
       "      <td>S</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <td>888</td>\n",
       "      <td>889</td>\n",
       "      <td>0</td>\n",
       "      <td>3</td>\n",
       "      <td>Johnston, Miss. Catherine Helen \"Carrie\"</td>\n",
       "      <td>female</td>\n",
       "      <td>NaN</td>\n",
       "      <td>1</td>\n",
       "      <td>2</td>\n",
       "      <td>W./C. 6607</td>\n",
       "      <td>23.4500</td>\n",
       "      <td>NaN</td>\n",
       "      <td>S</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <td>889</td>\n",
       "      <td>890</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>Behr, Mr. Karl Howell</td>\n",
       "      <td>male</td>\n",
       "      <td>26.0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>111369</td>\n",
       "      <td>30.0000</td>\n",
       "      <td>C148</td>\n",
       "      <td>C</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <td>890</td>\n",
       "      <td>891</td>\n",
       "      <td>0</td>\n",
       "      <td>3</td>\n",
       "      <td>Dooley, Mr. Patrick</td>\n",
       "      <td>male</td>\n",
       "      <td>32.0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>370376</td>\n",
       "      <td>7.7500</td>\n",
       "      <td>NaN</td>\n",
       "      <td>Q</td>\n",
       "    </tr>\n",
       "  </tbody>\n",
       "</table>\n",
       "<p>891 rows × 12 columns</p>\n",
       "</div>"
      ],
      "text/plain": [
       "     PassengerId  Survived  Pclass  \\\n",
       "0              1         0       3   \n",
       "1              2         1       1   \n",
       "2              3         1       3   \n",
       "3              4         1       1   \n",
       "4              5         0       3   \n",
       "..           ...       ...     ...   \n",
       "886          887         0       2   \n",
       "887          888         1       1   \n",
       "888          889         0       3   \n",
       "889          890         1       1   \n",
       "890          891         0       3   \n",
       "\n",
       "                                                  Name     Sex   Age  SibSp  \\\n",
       "0                              Braund, Mr. Owen Harris    male  22.0      1   \n",
       "1    Cumings, Mrs. John Bradley (Florence Briggs Th...  female  38.0      1   \n",
       "2                               Heikkinen, Miss. Laina  female  26.0      0   \n",
       "3         Futrelle, Mrs. Jacques Heath (Lily May Peel)  female  35.0      1   \n",
       "4                             Allen, Mr. William Henry    male  35.0      0   \n",
       "..                                                 ...     ...   ...    ...   \n",
       "886                              Montvila, Rev. Juozas    male  27.0      0   \n",
       "887                       Graham, Miss. Margaret Edith  female  19.0      0   \n",
       "888           Johnston, Miss. Catherine Helen \"Carrie\"  female   NaN      1   \n",
       "889                              Behr, Mr. Karl Howell    male  26.0      0   \n",
       "890                                Dooley, Mr. Patrick    male  32.0      0   \n",
       "\n",
       "     Parch            Ticket     Fare Cabin Embarked  \n",
       "0        0         A/5 21171   7.2500   NaN        S  \n",
       "1        0          PC 17599  71.2833   C85        C  \n",
       "2        0  STON/O2. 3101282   7.9250   NaN        S  \n",
       "3        0            113803  53.1000  C123        S  \n",
       "4        0            373450   8.0500   NaN        S  \n",
       "..     ...               ...      ...   ...      ...  \n",
       "886      0            211536  13.0000   NaN        S  \n",
       "887      0            112053  30.0000   B42        S  \n",
       "888      2        W./C. 6607  23.4500   NaN        S  \n",
       "889      0            111369  30.0000  C148        C  \n",
       "890      0            370376   7.7500   NaN        Q  \n",
       "\n",
       "[891 rows x 12 columns]"
      ]
     },
     "execution_count": 1,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "from dataprep.eda import *\n",
    "import pandas as pd\n",
    "train_df = pd.read_csv('titanic/train.csv')\n",
    "train_df"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "## 4. Glimpse of the data\n",
    "The first thing we need to do is to rounghly understand the data. I.e., how many columns are available, which columns are categorical, which columns are numerical, and which column contains missing values. In dataprep.eda, all of the above questions could be answered in just one line of code!"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 2,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/html": [
       "\n",
       "\n",
       "\n",
       "\n",
       "<!DOCTYPE html>\n",
       "<html lang=\"en\">\n",
       "  \n",
       "  <head>\n",
       "    \n",
       "      <meta charset=\"utf-8\">\n",
       "      <title>Report</title>\n",
       "      \n",
       "      \n",
       "        \n",
       "          \n",
       "        \n",
       "        \n",
       "          \n",
       "        <script type=\"text/javascript\" src=\"https://cdn.pydata.org/bokeh/release/bokeh-1.4.0.min.js\"></script>\n",
       "        <script type=\"text/javascript\">\n",
       "            Bokeh.set_log_level(\"info\");\n",
       "        </script>\n",
       "        \n",
       "      \n",
       "      \n",
       "    \n",
       "  </head>\n",
       "  \n",
       "  \n",
       "  <body>\n",
       "    \n",
       "      \n",
       "        \n",
       "          \n",
       "          \n",
       "            \n",
       "              <div class=\"bk-root\" id=\"ce0bb320-5a4d-454e-9dd6-3a1ecd0f1879\" data-root-id=\"1471\"></div>\n",
       "            \n",
       "          \n",
       "        \n",
       "      \n",
       "      \n",
       "        <script type=\"application/json\" id=\"2336\">\n",
       "          {\"31867a82-e238-4efb-acbe-476b67d07759\":{\"roots\":{\"references\":[{\"attributes\":{},\"id\":\"1430\",\"type\":\"BasicTickFormatter\"},{\"attributes\":{\"callback\":null,\"mode\":\"vline\",\"tooltips\":[[\"Bin\",\"@intervals\"],[\"Frequency\",\"@freq\"],[\"Percent\",\"@pct{0.2f}%\"]]},\"id\":\"1256\",\"type\":\"HoverTool\"},{\"attributes\":{\"callback\":null},\"id\":\"1361\",\"type\":\"DataRange1d\"},{\"attributes\":{},\"id\":\"1431\",\"type\":\"BasicTickFormatter\"},{\"attributes\":{},\"id\":\"1363\",\"type\":\"CategoricalScale\"},{\"attributes\":{\"callback\":null,\"factors\":[\"Abbing, Mr. Anthony\",\"Abbott, Mr. Rossmore Edward\",\"Abbott, Mrs. Stanton (Rosa Hunt)\",\"Abelson, Mr. Samuel\",\"Abelson, Mrs. Samuel (Hannah Wizosky)\",\"Adahl, Mr. Mauritz Nils Martin\",\"Adams, Mr. John\",\"Ahlin, Mrs. Johan (Johanna Persdotter Larsson)\",\"Aks, Mrs. Sam (Leah Rosen)\",\"Albimona, Mr. Nassef Cassem\"]},\"id\":\"1103\",\"type\":\"FactorRange\"},{\"attributes\":{\"callback\":null,\"data\":{\"freq\":[732,106,31,2,11,6,0,0,0,3],\"index\":[0,1,2,3,4,5,6,7,8,9],\"intervals\":[\"[0.0,51.233)\",\"[51.233,102.466)\",\"[102.466,153.699)\",\"[153.699,204.932)\",\"[204.932,256.165)\",\"[256.165,307.398)\",\"[307.398,358.63)\",\"[358.63,409.863)\",\"[409.863,461.096)\",\"[461.096,512.329]\"],\"left\":{\"__ndarray__\":\"AAAAAAAAAADLSpNS0J1JQMtKk1LQnVlAGHjuPVw2Y0DLSpNS0J1pQL8OnDOiAnBAGHjuPVw2c0By4UBIFmp2QMtKk1LQnXlAJLTlXIrRfEA=\",\"dtype\":\"float64\",\"shape\":[10]},\"pct\":{\"__ndarray__\":\"/HzXlumJVEAXENgwIssnQHc5KBx61QtAxgk6wlS7zD+35odFysDzP1OHq5F/jOU/AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAU4erkX+M1T8=\",\"dtype\":\"float64\",\"shape\":[10]},\"right\":{\"__ndarray__\":\"y0qTUtCdSUDLSpNS0J1ZQBh47j1cNmNAy0qTUtCdaUC/DpwzogJwQBh47j1cNnNAcuFASBZqdkDLSpNS0J15QCS05VyK0XxAvw6cM6ICgEA=\",\"dtype\":\"float64\",\"shape\":[10]}},\"selected\":{\"id\":\"1454\",\"type\":\"Selection\"},\"selection_policy\":{\"id\":\"1455\",\"type\":\"UnionRenderers\"}},\"id\":\"1314\",\"type\":\"ColumnDataSource\"},{\"attributes\":{},\"id\":\"1433\",\"type\":\"Selection\"},{\"attributes\":{},\"id\":\"1365\",\"type\":\"LinearScale\"},{\"attributes\":{},\"id\":\"1434\",\"type\":\"UnionRenderers\"},{\"attributes\":{\"formatter\":{\"id\":\"1385\",\"type\":\"FuncTickFormatter\"},\"major_label_orientation\":1.0471975511965976,\"major_label_text_font_size\":{\"value\":\"9pt\"},\"minor_tick_line_color\":{\"value\":\"white\"},\"ticker\":{\"id\":\"1368\",\"type\":\"CategoricalTicker\"}},\"id\":\"1367\",\"type\":\"CategoricalAxis\"},{\"attributes\":{},\"id\":\"1437\",\"type\":\"BasicTickFormatter\"},{\"attributes\":{},\"id\":\"1368\",\"type\":\"CategoricalTicker\"},{\"attributes\":{\"below\":[{\"id\":\"1272\",\"type\":\"CategoricalAxis\"}],\"center\":[{\"id\":\"1275\",\"type\":\"Grid\"},{\"id\":\"1280\",\"type\":\"Grid\"}],\"left\":[{\"id\":\"1276\",\"type\":\"LinearAxis\"}],\"plot_height\":300,\"plot_width\":324,\"renderers\":[{\"id\":\"1288\",\"type\":\"GlyphRenderer\"}],\"title\":{\"id\":\"1262\",\"type\":\"Title\"},\"toolbar\":{\"id\":\"1282\",\"type\":\"Toolbar\"},\"toolbar_location\":null,\"x_range\":{\"id\":\"1264\",\"type\":\"FactorRange\"},\"x_scale\":{\"id\":\"1268\",\"type\":\"CategoricalScale\"},\"y_range\":{\"id\":\"1266\",\"type\":\"DataRange1d\"},\"y_scale\":{\"id\":\"1270\",\"type\":\"LinearScale\"}},\"id\":\"1261\",\"subtype\":\"Figure\",\"type\":\"Plot\"},{\"attributes\":{\"callback\":null,\"data\":{\"cnt\":[1,1,1,1,1,1,1,1,1,1],\"col\":[\"Abbing, Mr. Anthony\",\"Abbott, Mr. Rossmore Edward\",\"Abbott, Mrs. Stanton (Rosa Hunt)\",\"Abelson, Mr. Samuel\",\"Abelson, Mrs. Samuel (Hannah Wizosky)\",\"Adahl, Mr. Mauritz Nils Martin\",\"Adams, Mr. John\",\"Ahlin, Mrs. Johan (Johanna Persdotter Larsson)\",\"Aks, Mrs. Sam (Leah Rosen)\",\"Albimona, Mr. Nassef Cassem\"],\"index\":[0,1,2,3,4,5,6,7,8,9],\"pct\":{\"__ndarray__\":\"xgk6wlS7vD/GCTrCVLu8P8YJOsJUu7w/xgk6wlS7vD/GCTrCVLu8P8YJOsJUu7w/xgk6wlS7vD/GCTrCVLu8P8YJOsJUu7w/xgk6wlS7vD8=\",\"dtype\":\"float64\",\"shape\":[10]}},\"selected\":{\"id\":\"1412\",\"type\":\"Selection\"},\"selection_policy\":{\"id\":\"1413\",\"type\":\"UnionRenderers\"}},\"id\":\"1123\",\"type\":\"ColumnDataSource\"},{\"attributes\":{},\"id\":\"1438\",\"type\":\"BasicTickFormatter\"},{\"attributes\":{\"text\":\"Name\",\"text_font_size\":{\"value\":\"10pt\"}},\"id\":\"1101\",\"type\":\"Title\"},{\"attributes\":{\"grid_line_color\":null,\"ticker\":{\"id\":\"1368\",\"type\":\"CategoricalTicker\"}},\"id\":\"1370\",\"type\":\"Grid\"},{\"attributes\":{\"ticks\":[0,1,2,3,4,5]},\"id\":\"1258\",\"type\":\"FixedTicker\"},{\"attributes\":{},\"id\":\"1440\",\"type\":\"Selection\"},{\"attributes\":{\"axis_label\":\"Count\",\"formatter\":{\"id\":\"1466\",\"type\":\"BasicTickFormatter\"},\"major_label_text_font_size\":{\"value\":\"0pt\"},\"major_tick_line_color\":{\"value\":null},\"minor_tick_line_color\":{\"value\":\"white\"},\"ticker\":{\"id\":\"1372\",\"type\":\"BasicTicker\"}},\"id\":\"1371\",\"type\":\"LinearAxis\"},{\"attributes\":{\"ticks\":[1,1.4,1.8,2.2,2.6,3]},\"id\":\"1097\",\"type\":\"FixedTicker\"},{\"attributes\":{\"ticks\":[0,1,2,3,4,5]},\"id\":\"1259\",\"type\":\"FixedTicker\"},{\"attributes\":{},\"id\":\"1441\",\"type\":\"UnionRenderers\"},{\"attributes\":{\"ticks\":[1,1.4,1.8,2.2,2.6,3]},\"id\":\"1098\",\"type\":\"FixedTicker\"},{\"attributes\":{},\"id\":\"1372\",\"type\":\"BasicTicker\"},{\"attributes\":{\"callback\":null,\"data\":{\"cnt\":[7,7,7,6,6,6,5,5,4,4],\"col\":[\"1601\",\"347082\",\"CA. 2343\",\"3101295\",\"347088\",\"CA 2144\",\"382652\",\"S.O.C. 14879\",\"113760\",\"113781\"],\"index\":[0,1,2,3,4,5,6,7,8,9],\"pct\":{\"__ndarray__\":\"jcjyKeoj6T+NyPIp6iPpP43I8inqI+k/U4erkX+M5T9Th6uRf4zlP1OHq5F/jOU/G0Zk+RT14T8bRmT5FPXhP8YJOsJUu9w/xgk6wlS73D8=\",\"dtype\":\"float64\",\"shape\":[10]}},\"selected\":{\"id\":\"1447\",\"type\":\"Selection\"},\"selection_policy\":{\"id\":\"1448\",\"type\":\"UnionRenderers\"}},\"id\":\"1284\",\"type\":\"ColumnDataSource\"},{\"attributes\":{},\"id\":\"1445\",\"type\":\"BasicTickFormatter\"},{\"attributes\":{\"below\":[{\"id\":\"1111\",\"type\":\"CategoricalAxis\"}],\"center\":[{\"id\":\"1114\",\"type\":\"Grid\"},{\"id\":\"1119\",\"type\":\"Grid\"}],\"left\":[{\"id\":\"1115\",\"type\":\"LinearAxis\"}],\"plot_height\":300,\"plot_width\":324,\"renderers\":[{\"id\":\"1127\",\"type\":\"GlyphRenderer\"}],\"title\":{\"id\":\"1101\",\"type\":\"Title\"},\"toolbar\":{\"id\":\"1121\",\"type\":\"Toolbar\"},\"toolbar_location\":null,\"x_range\":{\"id\":\"1103\",\"type\":\"FactorRange\"},\"x_scale\":{\"id\":\"1107\",\"type\":\"CategoricalScale\"},\"y_range\":{\"id\":\"1105\",\"type\":\"DataRange1d\"},\"y_scale\":{\"id\":\"1109\",\"type\":\"LinearScale\"}},\"id\":\"1100\",\"subtype\":\"Figure\",\"type\":\"Plot\"},{\"attributes\":{\"text\":\"Ticket\",\"text_font_size\":{\"value\":\"10pt\"}},\"id\":\"1262\",\"type\":\"Title\"},{\"attributes\":{\"dimension\":1,\"grid_line_color\":null,\"ticker\":{\"id\":\"1372\",\"type\":\"BasicTicker\"}},\"id\":\"1375\",\"type\":\"Grid\"},{\"attributes\":{\"callback\":null,\"factors\":[\"1601\",\"347082\",\"CA. 2343\",\"3101295\",\"347088\",\"CA 2144\",\"382652\",\"S.O.C. 14879\",\"113760\",\"113781\"]},\"id\":\"1264\",\"type\":\"FactorRange\"},{\"attributes\":{},\"id\":\"1447\",\"type\":\"Selection\"},{\"attributes\":{\"callback\":null},\"id\":\"1105\",\"type\":\"DataRange1d\"},{\"attributes\":{\"active_drag\":\"auto\",\"active_inspect\":\"auto\",\"active_multi\":null,\"active_scroll\":\"auto\",\"active_tap\":\"auto\",\"tools\":[{\"id\":\"1376\",\"type\":\"HoverTool\"}]},\"id\":\"1377\",\"type\":\"Toolbar\"},{\"attributes\":{\"callback\":null},\"id\":\"1266\",\"type\":\"DataRange1d\"},{\"attributes\":{\"callback\":null,\"tooltips\":[[\"Embarked\",\"@col\"],[\"Count\",\"@cnt\"],[\"Percent\",\"@pct{0.2f}%\"]]},\"id\":\"1376\",\"type\":\"HoverTool\"},{\"attributes\":{},\"id\":\"1448\",\"type\":\"UnionRenderers\"},{\"attributes\":{},\"id\":\"1107\",\"type\":\"CategoricalScale\"},{\"attributes\":{},\"id\":\"1268\",\"type\":\"CategoricalScale\"},{\"attributes\":{},\"id\":\"1451\",\"type\":\"BasicTickFormatter\"},{\"attributes\":{},\"id\":\"1109\",\"type\":\"LinearScale\"},{\"attributes\":{},\"id\":\"1270\",\"type\":\"LinearScale\"},{\"attributes\":{},\"id\":\"1452\",\"type\":\"BasicTickFormatter\"},{\"attributes\":{},\"id\":\"1399\",\"type\":\"UnionRenderers\"},{\"attributes\":{\"bottom\":{\"value\":0.01},\"fill_alpha\":{\"value\":0.1},\"fill_color\":{\"value\":\"#1f77b4\"},\"line_alpha\":{\"value\":0.1},\"line_color\":{\"value\":\"#1f77b4\"},\"top\":{\"field\":\"cnt\"},\"width\":{\"value\":0.9},\"x\":{\"field\":\"col\"}},\"id\":\"1382\",\"type\":\"VBar\"},{\"attributes\":{\"axis_label\":\"Top 10 of 891 Name\",\"axis_label_standoff\":0,\"formatter\":{\"id\":\"1129\",\"type\":\"FuncTickFormatter\"},\"major_label_orientation\":1.0471975511965976,\"major_label_text_font_size\":{\"value\":\"9pt\"},\"minor_tick_line_color\":{\"value\":\"white\"},\"ticker\":{\"id\":\"1112\",\"type\":\"CategoricalTicker\"}},\"id\":\"1111\",\"type\":\"CategoricalAxis\"},{\"attributes\":{\"axis_label\":\"Top 10 of 681 Ticket\",\"axis_label_standoff\":0,\"formatter\":{\"id\":\"1290\",\"type\":\"FuncTickFormatter\"},\"major_label_orientation\":1.0471975511965976,\"major_label_text_font_size\":{\"value\":\"9pt\"},\"minor_tick_line_color\":{\"value\":\"white\"},\"ticker\":{\"id\":\"1273\",\"type\":\"CategoricalTicker\"}},\"id\":\"1272\",\"type\":\"CategoricalAxis\"},{\"attributes\":{\"bottom\":{\"value\":0.01},\"fill_color\":{\"value\":\"#1f77b4\"},\"line_color\":{\"value\":\"#1f77b4\"},\"top\":{\"field\":\"cnt\"},\"width\":{\"value\":0.9},\"x\":{\"field\":\"col\"}},\"id\":\"1381\",\"type\":\"VBar\"},{\"attributes\":{},\"id\":\"1454\",\"type\":\"Selection\"},{\"attributes\":{\"data_source\":{\"id\":\"1379\",\"type\":\"ColumnDataSource\"},\"glyph\":{\"id\":\"1381\",\"type\":\"VBar\"},\"hover_glyph\":null,\"muted_glyph\":null,\"nonselection_glyph\":{\"id\":\"1382\",\"type\":\"VBar\"},\"selection_glyph\":null,\"view\":{\"id\":\"1384\",\"type\":\"CDSView\"}},\"id\":\"1383\",\"type\":\"GlyphRenderer\"},{\"attributes\":{},\"id\":\"1112\",\"type\":\"CategoricalTicker\"},{\"attributes\":{},\"id\":\"1273\",\"type\":\"CategoricalTicker\"},{\"attributes\":{},\"id\":\"1455\",\"type\":\"UnionRenderers\"},{\"attributes\":{\"source\":{\"id\":\"1379\",\"type\":\"ColumnDataSource\"}},\"id\":\"1384\",\"type\":\"CDSView\"},{\"attributes\":{\"grid_line_color\":null,\"ticker\":{\"id\":\"1112\",\"type\":\"CategoricalTicker\"}},\"id\":\"1114\",\"type\":\"Grid\"},{\"attributes\":{\"grid_line_color\":null,\"ticker\":{\"id\":\"1273\",\"type\":\"CategoricalTicker\"}},\"id\":\"1275\",\"type\":\"Grid\"},{\"attributes\":{},\"id\":\"1459\",\"type\":\"BasicTickFormatter\"},{\"attributes\":{\"axis_label\":\"Count\",\"formatter\":{\"id\":\"1410\",\"type\":\"BasicTickFormatter\"},\"major_label_text_font_size\":{\"value\":\"0pt\"},\"major_tick_line_color\":{\"value\":null},\"minor_tick_line_color\":{\"value\":\"white\"},\"ticker\":{\"id\":\"1116\",\"type\":\"BasicTicker\"}},\"id\":\"1115\",\"type\":\"LinearAxis\"},{\"attributes\":{\"axis_label\":\"Count\",\"formatter\":{\"id\":\"1445\",\"type\":\"BasicTickFormatter\"},\"major_label_text_font_size\":{\"value\":\"0pt\"},\"major_tick_line_color\":{\"value\":null},\"minor_tick_line_color\":{\"value\":\"white\"},\"ticker\":{\"id\":\"1277\",\"type\":\"BasicTicker\"}},\"id\":\"1276\",\"type\":\"LinearAxis\"},{\"attributes\":{},\"id\":\"1461\",\"type\":\"Selection\"},{\"attributes\":{},\"id\":\"1116\",\"type\":\"BasicTicker\"},{\"attributes\":{},\"id\":\"1277\",\"type\":\"BasicTicker\"},{\"attributes\":{\"code\":\"\\n            if (tick.length &gt; 15) return tick.substring(0, 15-2) + '...';\\n            else return tick;\\n        \"},\"id\":\"1385\",\"type\":\"FuncTickFormatter\"},{\"attributes\":{},\"id\":\"1462\",\"type\":\"UnionRenderers\"},{\"attributes\":{\"dimension\":1,\"grid_line_color\":null,\"ticker\":{\"id\":\"1116\",\"type\":\"BasicTicker\"}},\"id\":\"1119\",\"type\":\"Grid\"},{\"attributes\":{\"dimension\":1,\"grid_line_color\":null,\"ticker\":{\"id\":\"1277\",\"type\":\"BasicTicker\"}},\"id\":\"1280\",\"type\":\"Grid\"},{\"attributes\":{},\"id\":\"1466\",\"type\":\"BasicTickFormatter\"},{\"attributes\":{},\"id\":\"1389\",\"type\":\"BasicTickFormatter\"},{\"attributes\":{\"active_drag\":\"auto\",\"active_inspect\":\"auto\",\"active_multi\":null,\"active_scroll\":\"auto\",\"active_tap\":\"auto\",\"tools\":[{\"id\":\"1120\",\"type\":\"HoverTool\"}]},\"id\":\"1121\",\"type\":\"Toolbar\"},{\"attributes\":{\"active_drag\":\"auto\",\"active_inspect\":\"auto\",\"active_multi\":null,\"active_scroll\":\"auto\",\"active_tap\":\"auto\",\"tools\":[{\"id\":\"1281\",\"type\":\"HoverTool\"}]},\"id\":\"1282\",\"type\":\"Toolbar\"},{\"attributes\":{},\"id\":\"1468\",\"type\":\"Selection\"},{\"attributes\":{\"callback\":null,\"tooltips\":[[\"Name\",\"@col\"],[\"Count\",\"@cnt\"],[\"Percent\",\"@pct{0.2f}%\"]]},\"id\":\"1120\",\"type\":\"HoverTool\"},{\"attributes\":{\"callback\":null,\"tooltips\":[[\"Ticket\",\"@col\"],[\"Count\",\"@cnt\"],[\"Percent\",\"@pct{0.2f}%\"]]},\"id\":\"1281\",\"type\":\"HoverTool\"},{\"attributes\":{},\"id\":\"1391\",\"type\":\"Selection\"},{\"attributes\":{},\"id\":\"1469\",\"type\":\"UnionRenderers\"},{\"attributes\":{},\"id\":\"1392\",\"type\":\"UnionRenderers\"},{\"attributes\":{},\"id\":\"1204\",\"type\":\"LinearScale\"},{\"attributes\":{},\"id\":\"1402\",\"type\":\"BasicTickFormatter\"},{\"attributes\":{\"bottom\":{\"value\":0.01},\"fill_color\":{\"value\":\"#1f77b4\"},\"line_color\":{\"value\":\"#1f77b4\"},\"top\":{\"field\":\"cnt\"},\"width\":{\"value\":0.9},\"x\":{\"field\":\"col\"}},\"id\":\"1125\",\"type\":\"VBar\"},{\"attributes\":{\"bottom\":{\"value\":0.01},\"fill_color\":{\"value\":\"#1f77b4\"},\"line_color\":{\"value\":\"#1f77b4\"},\"top\":{\"field\":\"cnt\"},\"width\":{\"value\":0.9},\"x\":{\"field\":\"col\"}},\"id\":\"1286\",\"type\":\"VBar\"},{\"attributes\":{},\"id\":\"1403\",\"type\":\"BasicTickFormatter\"},{\"attributes\":{\"data_source\":{\"id\":\"1123\",\"type\":\"ColumnDataSource\"},\"glyph\":{\"id\":\"1125\",\"type\":\"VBar\"},\"hover_glyph\":null,\"muted_glyph\":null,\"nonselection_glyph\":{\"id\":\"1126\",\"type\":\"VBar\"},\"selection_glyph\":null,\"view\":{\"id\":\"1128\",\"type\":\"CDSView\"}},\"id\":\"1127\",\"type\":\"GlyphRenderer\"},{\"attributes\":{\"data_source\":{\"id\":\"1284\",\"type\":\"ColumnDataSource\"},\"glyph\":{\"id\":\"1286\",\"type\":\"VBar\"},\"hover_glyph\":null,\"muted_glyph\":null,\"nonselection_glyph\":{\"id\":\"1287\",\"type\":\"VBar\"},\"selection_glyph\":null,\"view\":{\"id\":\"1289\",\"type\":\"CDSView\"}},\"id\":\"1288\",\"type\":\"GlyphRenderer\"},{\"attributes\":{\"source\":{\"id\":\"1123\",\"type\":\"ColumnDataSource\"}},\"id\":\"1128\",\"type\":\"CDSView\"},{\"attributes\":{\"source\":{\"id\":\"1284\",\"type\":\"ColumnDataSource\"}},\"id\":\"1289\",\"type\":\"CDSView\"},{\"attributes\":{},\"id\":\"1405\",\"type\":\"Selection\"},{\"attributes\":{},\"id\":\"1406\",\"type\":\"UnionRenderers\"},{\"attributes\":{},\"id\":\"1398\",\"type\":\"Selection\"},{\"attributes\":{\"code\":\"\\n            if (tick.length &gt; 15) return tick.substring(0, 15-2) + '...';\\n            else return tick;\\n        \"},\"id\":\"1129\",\"type\":\"FuncTickFormatter\"},{\"attributes\":{},\"id\":\"1410\",\"type\":\"BasicTickFormatter\"},{\"attributes\":{\"code\":\"\\n            if (tick.length &gt; 15) return tick.substring(0, 15-2) + '...';\\n            else return tick;\\n        \"},\"id\":\"1290\",\"type\":\"FuncTickFormatter\"},{\"attributes\":{\"below\":[{\"id\":\"1142\",\"type\":\"CategoricalAxis\"}],\"center\":[{\"id\":\"1145\",\"type\":\"Grid\"},{\"id\":\"1150\",\"type\":\"Grid\"}],\"left\":[{\"id\":\"1146\",\"type\":\"LinearAxis\"}],\"plot_height\":300,\"plot_width\":324,\"renderers\":[{\"id\":\"1158\",\"type\":\"GlyphRenderer\"}],\"title\":{\"id\":\"1132\",\"type\":\"Title\"},\"toolbar\":{\"id\":\"1152\",\"type\":\"Toolbar\"},\"toolbar_location\":null,\"x_range\":{\"id\":\"1134\",\"type\":\"FactorRange\"},\"x_scale\":{\"id\":\"1138\",\"type\":\"CategoricalScale\"},\"y_range\":{\"id\":\"1136\",\"type\":\"DataRange1d\"},\"y_scale\":{\"id\":\"1140\",\"type\":\"LinearScale\"}},\"id\":\"1131\",\"subtype\":\"Figure\",\"type\":\"Plot\"},{\"attributes\":{\"text\":\"Fare\",\"text_font_size\":{\"value\":\"10pt\"}},\"id\":\"1293\",\"type\":\"Title\"},{\"attributes\":{},\"id\":\"1412\",\"type\":\"Selection\"},{\"attributes\":{\"below\":[{\"id\":\"1173\",\"type\":\"LinearAxis\"}],\"center\":[{\"id\":\"1177\",\"type\":\"Grid\"},{\"id\":\"1182\",\"type\":\"Grid\"}],\"left\":[{\"id\":\"1178\",\"type\":\"LinearAxis\"}],\"plot_height\":300,\"plot_width\":324,\"renderers\":[{\"id\":\"1188\",\"type\":\"GlyphRenderer\"}],\"title\":{\"id\":\"1163\",\"type\":\"Title\"},\"toolbar\":{\"id\":\"1183\",\"type\":\"Toolbar\"},\"toolbar_location\":null,\"x_range\":{\"id\":\"1165\",\"type\":\"DataRange1d\"},\"x_scale\":{\"id\":\"1169\",\"type\":\"LinearScale\"},\"y_range\":{\"id\":\"1167\",\"type\":\"DataRange1d\"},\"y_scale\":{\"id\":\"1171\",\"type\":\"LinearScale\"}},\"id\":\"1162\",\"subtype\":\"Figure\",\"type\":\"Plot\"},{\"attributes\":{\"callback\":null},\"id\":\"1295\",\"type\":\"DataRange1d\"},{\"attributes\":{},\"id\":\"1413\",\"type\":\"UnionRenderers\"},{\"attributes\":{\"callback\":null,\"data\":{\"cnt\":[577,314],\"col\":[\"male\",\"female\"],\"index\":[0,1],\"pct\":{\"__ndarray__\":\"AjRxgo4wUED+lx374p5BQA==\",\"dtype\":\"float64\",\"shape\":[2]}},\"selected\":{\"id\":\"1419\",\"type\":\"Selection\"},\"selection_policy\":{\"id\":\"1420\",\"type\":\"UnionRenderers\"}},\"id\":\"1154\",\"type\":\"ColumnDataSource\"},{\"attributes\":{\"text\":\"Sex\",\"text_font_size\":{\"value\":\"10pt\"}},\"id\":\"1132\",\"type\":\"Title\"},{\"attributes\":{\"callback\":null},\"id\":\"1297\",\"type\":\"DataRange1d\"},{\"attributes\":{},\"id\":\"1417\",\"type\":\"BasicTickFormatter\"},{\"attributes\":{\"callback\":null,\"factors\":[\"male\",\"female\"]},\"id\":\"1134\",\"type\":\"FactorRange\"},{\"attributes\":{},\"id\":\"1299\",\"type\":\"LinearScale\"},{\"attributes\":{},\"id\":\"1419\",\"type\":\"Selection\"},{\"attributes\":{\"callback\":null},\"id\":\"1136\",\"type\":\"DataRange1d\"},{\"attributes\":{},\"id\":\"1301\",\"type\":\"LinearScale\"},{\"attributes\":{},\"id\":\"1420\",\"type\":\"UnionRenderers\"},{\"attributes\":{},\"id\":\"1138\",\"type\":\"CategoricalScale\"},{\"attributes\":{\"formatter\":{\"id\":\"1451\",\"type\":\"BasicTickFormatter\"},\"major_label_orientation\":0,\"major_label_overrides\":{\"0\":\"0\",\"100\":\"100\",\"200\":\"200\",\"300\":\"300\",\"400\":\"400\",\"500\":\"500\"},\"major_label_standoff\":7,\"major_label_text_font_size\":{\"value\":\"10pt\"},\"major_tick_line_color\":{\"value\":null},\"minor_tick_line_color\":{\"value\":\"white\"},\"ticker\":{\"id\":\"1323\",\"type\":\"FixedTicker\"}},\"id\":\"1303\",\"type\":\"LinearAxis\"},{\"attributes\":{},\"id\":\"1423\",\"type\":\"BasicTickFormatter\"},{\"attributes\":{},\"id\":\"1140\",\"type\":\"LinearScale\"},{\"attributes\":{},\"id\":\"1424\",\"type\":\"BasicTickFormatter\"},{\"attributes\":{\"formatter\":{\"id\":\"1160\",\"type\":\"FuncTickFormatter\"},\"major_label_orientation\":1.0471975511965976,\"major_label_text_font_size\":{\"value\":\"9pt\"},\"minor_tick_line_color\":{\"value\":\"white\"},\"ticker\":{\"id\":\"1143\",\"type\":\"CategoricalTicker\"}},\"id\":\"1142\",\"type\":\"CategoricalAxis\"},{\"attributes\":{},\"id\":\"1388\",\"type\":\"BasicTickFormatter\"},{\"attributes\":{\"grid_line_color\":null,\"ticker\":{\"id\":\"1322\",\"type\":\"FixedTicker\"}},\"id\":\"1307\",\"type\":\"Grid\"},{\"attributes\":{},\"id\":\"1426\",\"type\":\"Selection\"},{\"attributes\":{},\"id\":\"1143\",\"type\":\"CategoricalTicker\"},{\"attributes\":{\"axis_label\":\"Frequency\",\"formatter\":{\"id\":\"1452\",\"type\":\"BasicTickFormatter\"},\"major_label_text_font_size\":{\"value\":\"0pt\"},\"major_tick_line_color\":{\"value\":null},\"minor_tick_line_color\":{\"value\":\"white\"},\"ticker\":{\"id\":\"1309\",\"type\":\"BasicTicker\"}},\"id\":\"1308\",\"type\":\"LinearAxis\"},{\"attributes\":{},\"id\":\"1427\",\"type\":\"UnionRenderers\"},{\"attributes\":{\"grid_line_color\":null,\"ticker\":{\"id\":\"1143\",\"type\":\"CategoricalTicker\"}},\"id\":\"1145\",\"type\":\"Grid\"},{\"attributes\":{},\"id\":\"1309\",\"type\":\"BasicTicker\"},{\"attributes\":{\"dimension\":1,\"grid_line_color\":null,\"ticker\":{\"id\":\"1309\",\"type\":\"BasicTicker\"}},\"id\":\"1312\",\"type\":\"Grid\"},{\"attributes\":{\"active_drag\":\"auto\",\"active_inspect\":\"auto\",\"active_multi\":null,\"active_scroll\":\"auto\",\"active_tap\":\"auto\",\"tools\":[{\"id\":\"1320\",\"type\":\"HoverTool\"}]},\"id\":\"1313\",\"type\":\"Toolbar\"},{\"attributes\":{\"data_source\":{\"id\":\"1314\",\"type\":\"ColumnDataSource\"},\"glyph\":{\"id\":\"1316\",\"type\":\"Quad\"},\"hover_glyph\":null,\"muted_glyph\":null,\"nonselection_glyph\":{\"id\":\"1317\",\"type\":\"Quad\"},\"selection_glyph\":null,\"view\":{\"id\":\"1319\",\"type\":\"CDSView\"}},\"id\":\"1318\",\"type\":\"GlyphRenderer\"},{\"attributes\":{\"source\":{\"id\":\"1314\",\"type\":\"ColumnDataSource\"}},\"id\":\"1319\",\"type\":\"CDSView\"},{\"attributes\":{\"callback\":null,\"mode\":\"vline\",\"tooltips\":[[\"Bin\",\"@intervals\"],[\"Frequency\",\"@freq\"],[\"Percent\",\"@pct{0.2f}%\"]]},\"id\":\"1320\",\"type\":\"HoverTool\"},{\"attributes\":{},\"id\":\"1010\",\"type\":\"LinearScale\"},{\"attributes\":{\"callback\":null},\"id\":\"1004\",\"type\":\"DataRange1d\"},{\"attributes\":{\"axis_label\":\"Frequency\",\"formatter\":{\"id\":\"1389\",\"type\":\"BasicTickFormatter\"},\"major_label_text_font_size\":{\"value\":\"0pt\"},\"major_tick_line_color\":{\"value\":null},\"minor_tick_line_color\":{\"value\":\"white\"},\"ticker\":{\"id\":\"1018\",\"type\":\"BasicTicker\"}},\"id\":\"1017\",\"type\":\"LinearAxis\"},{\"attributes\":{\"below\":[{\"id\":\"1336\",\"type\":\"CategoricalAxis\"}],\"center\":[{\"id\":\"1339\",\"type\":\"Grid\"},{\"id\":\"1344\",\"type\":\"Grid\"}],\"left\":[{\"id\":\"1340\",\"type\":\"LinearAxis\"}],\"plot_height\":300,\"plot_width\":324,\"renderers\":[{\"id\":\"1352\",\"type\":\"GlyphRenderer\"}],\"title\":{\"id\":\"1326\",\"type\":\"Title\"},\"toolbar\":{\"id\":\"1346\",\"type\":\"Toolbar\"},\"toolbar_location\":null,\"x_range\":{\"id\":\"1328\",\"type\":\"FactorRange\"},\"x_scale\":{\"id\":\"1332\",\"type\":\"CategoricalScale\"},\"y_range\":{\"id\":\"1330\",\"type\":\"DataRange1d\"},\"y_scale\":{\"id\":\"1334\",\"type\":\"LinearScale\"}},\"id\":\"1325\",\"subtype\":\"Figure\",\"type\":\"Plot\"},{\"attributes\":{\"ticks\":[0,100,200,300,400,500]},\"id\":\"1322\",\"type\":\"FixedTicker\"},{\"attributes\":{\"ticks\":[0,100,200,300,400,500]},\"id\":\"1323\",\"type\":\"FixedTicker\"},{\"attributes\":{\"callback\":null,\"data\":{\"cnt\":[4,4,4,3,3,3,3,3,2,2],\"col\":[\"B96 B98\",\"C23 C25 C27\",\"G6\",\"C22 C26\",\"D\",\"E101\",\"F2\",\"F33\",\"B18\",\"B20\"],\"index\":[0,1,2,3,4,5,6,7,8,9],\"pct\":{\"__ndarray__\":\"xgk6wlS73D/GCTrCVLvcP8YJOsJUu9w/U4erkX+M1T9Th6uRf4zVP1OHq5F/jNU/U4erkX+M1T9Th6uRf4zVP8YJOsJUu8w/xgk6wlS7zD8=\",\"dtype\":\"float64\",\"shape\":[10]}},\"selected\":{\"id\":\"1461\",\"type\":\"Selection\"},\"selection_policy\":{\"id\":\"1462\",\"type\":\"UnionRenderers\"}},\"id\":\"1348\",\"type\":\"ColumnDataSource\"},{\"attributes\":{\"text\":\"Cabin (77.1% missing)\",\"text_font_size\":{\"value\":\"10pt\"}},\"id\":\"1326\",\"type\":\"Title\"},{\"attributes\":{\"callback\":null,\"factors\":[\"B96 B98\",\"C23 C25 C27\",\"G6\",\"C22 C26\",\"D\",\"E101\",\"F2\",\"F33\",\"B18\",\"B20\"]},\"id\":\"1328\",\"type\":\"FactorRange\"},{\"attributes\":{},\"id\":\"1008\",\"type\":\"LinearScale\"},{\"attributes\":{\"grid_line_color\":null,\"ticker\":{\"id\":\"1031\",\"type\":\"FixedTicker\"}},\"id\":\"1016\",\"type\":\"Grid\"},{\"attributes\":{\"callback\":null},\"id\":\"1330\",\"type\":\"DataRange1d\"},{\"attributes\":{},\"id\":\"1332\",\"type\":\"CategoricalScale\"},{\"attributes\":{},\"id\":\"1334\",\"type\":\"LinearScale\"},{\"attributes\":{\"axis_label\":\"Top 10 of 147 Cabin\",\"axis_label_standoff\":0,\"formatter\":{\"id\":\"1354\",\"type\":\"FuncTickFormatter\"},\"major_label_orientation\":1.0471975511965976,\"major_label_text_font_size\":{\"value\":\"9pt\"},\"minor_tick_line_color\":{\"value\":\"white\"},\"ticker\":{\"id\":\"1337\",\"type\":\"CategoricalTicker\"}},\"id\":\"1336\",\"type\":\"CategoricalAxis\"},{\"attributes\":{\"callback\":null},\"id\":\"1006\",\"type\":\"DataRange1d\"},{\"attributes\":{},\"id\":\"1337\",\"type\":\"CategoricalTicker\"},{\"attributes\":{\"grid_line_color\":null,\"ticker\":{\"id\":\"1337\",\"type\":\"CategoricalTicker\"}},\"id\":\"1339\",\"type\":\"Grid\"},{\"attributes\":{\"text\":\"PassengerId\",\"text_font_size\":{\"value\":\"10pt\"}},\"id\":\"1002\",\"type\":\"Title\"},{\"attributes\":{\"axis_label\":\"Count\",\"formatter\":{\"id\":\"1459\",\"type\":\"BasicTickFormatter\"},\"major_label_text_font_size\":{\"value\":\"0pt\"},\"major_tick_line_color\":{\"value\":null},\"minor_tick_line_color\":{\"value\":\"white\"},\"ticker\":{\"id\":\"1341\",\"type\":\"BasicTicker\"}},\"id\":\"1340\",\"type\":\"LinearAxis\"},{\"attributes\":{},\"id\":\"1341\",\"type\":\"BasicTicker\"},{\"attributes\":{\"dimension\":1,\"grid_line_color\":null,\"ticker\":{\"id\":\"1341\",\"type\":\"BasicTicker\"}},\"id\":\"1344\",\"type\":\"Grid\"},{\"attributes\":{\"formatter\":{\"id\":\"1388\",\"type\":\"BasicTickFormatter\"},\"major_label_orientation\":0,\"major_label_overrides\":{\"0\":\"0\",\"200\":\"200\",\"400\":\"400\",\"600\":\"600\",\"800\":\"800\"},\"major_label_standoff\":7,\"major_label_text_font_size\":{\"value\":\"10pt\"},\"major_tick_line_color\":{\"value\":null},\"minor_tick_line_color\":{\"value\":\"white\"},\"ticker\":{\"id\":\"1032\",\"type\":\"FixedTicker\"}},\"id\":\"1012\",\"type\":\"LinearAxis\"},{\"attributes\":{\"below\":[{\"id\":\"1045\",\"type\":\"LinearAxis\"}],\"center\":[{\"id\":\"1049\",\"type\":\"Grid\"},{\"id\":\"1054\",\"type\":\"Grid\"}],\"left\":[{\"id\":\"1050\",\"type\":\"LinearAxis\"}],\"plot_height\":300,\"plot_width\":324,\"renderers\":[{\"id\":\"1060\",\"type\":\"GlyphRenderer\"}],\"title\":{\"id\":\"1035\",\"type\":\"Title\"},\"toolbar\":{\"id\":\"1055\",\"type\":\"Toolbar\"},\"toolbar_location\":null,\"x_range\":{\"id\":\"1037\",\"type\":\"DataRange1d\"},\"x_scale\":{\"id\":\"1041\",\"type\":\"LinearScale\"},\"y_range\":{\"id\":\"1039\",\"type\":\"DataRange1d\"},\"y_scale\":{\"id\":\"1043\",\"type\":\"LinearScale\"}},\"id\":\"1034\",\"subtype\":\"Figure\",\"type\":\"Plot\"},{\"attributes\":{\"active_drag\":\"auto\",\"active_inspect\":\"auto\",\"active_multi\":null,\"active_scroll\":\"auto\",\"active_tap\":\"auto\",\"tools\":[{\"id\":\"1345\",\"type\":\"HoverTool\"}]},\"id\":\"1346\",\"type\":\"Toolbar\"},{\"attributes\":{\"callback\":null,\"tooltips\":[[\"Cabin\",\"@col\"],[\"Count\",\"@cnt\"],[\"Percent\",\"@pct{0.2f}%\"]]},\"id\":\"1345\",\"type\":\"HoverTool\"},{\"attributes\":{\"callback\":null,\"data\":{\"freq\":[89,89,89,89,89,89,89,89,89,90],\"index\":[0,1,2,3,4,5,6,7,8,9],\"intervals\":[\"[1.0,90.0)\",\"[90.0,179.0)\",\"[179.0,268.0)\",\"[268.0,357.0)\",\"[357.0,446.0)\",\"[446.0,535.0)\",\"[535.0,624.0)\",\"[624.0,713.0)\",\"[713.0,802.0)\",\"[802.0,891.0]\"],\"left\":{\"__ndarray__\":\"AAAAAAAA8D8AAAAAAIBWQAAAAAAAYGZAAAAAAADAcEAAAAAAAFB2QAAAAAAA4HtAAAAAAAC4gEAAAAAAAICDQAAAAAAASIZAAAAAAAAQiUA=\",\"dtype\":\"float64\",\"shape\":[10]},\"pct\":{\"__ndarray__\":\"y1oM70D6I0DLWgzvQPojQMtaDO9A+iNAy1oM70D6I0DLWgzvQPojQMtaDO9A+iNAy1oM70D6I0DLWgzvQPojQMtaDO9A+iNA3s6QmLczJEA=\",\"dtype\":\"float64\",\"shape\":[10]},\"right\":{\"__ndarray__\":\"AAAAAACAVkAAAAAAAGBmQAAAAAAAwHBAAAAAAABQdkAAAAAAAOB7QAAAAAAAuIBAAAAAAACAg0AAAAAAAEiGQAAAAAAAEIlAAAAAAADYi0A=\",\"dtype\":\"float64\",\"shape\":[10]}},\"selected\":{\"id\":\"1391\",\"type\":\"Selection\"},\"selection_policy\":{\"id\":\"1392\",\"type\":\"UnionRenderers\"}},\"id\":\"1023\",\"type\":\"ColumnDataSource\"},{\"attributes\":{},\"id\":\"1396\",\"type\":\"BasicTickFormatter\"},{\"attributes\":{\"bottom\":{\"value\":0.01},\"fill_alpha\":{\"value\":0.1},\"fill_color\":{\"value\":\"#1f77b4\"},\"line_alpha\":{\"value\":0.1},\"line_color\":{\"value\":\"#1f77b4\"},\"top\":{\"field\":\"cnt\"},\"width\":{\"value\":0.9},\"x\":{\"field\":\"col\"}},\"id\":\"1351\",\"type\":\"VBar\"},{\"attributes\":{\"bottom\":{\"value\":0.01},\"fill_color\":{\"value\":\"#1f77b4\"},\"line_color\":{\"value\":\"#1f77b4\"},\"top\":{\"field\":\"cnt\"},\"width\":{\"value\":0.9},\"x\":{\"field\":\"col\"}},\"id\":\"1350\",\"type\":\"VBar\"},{\"attributes\":{\"data_source\":{\"id\":\"1348\",\"type\":\"ColumnDataSource\"},\"glyph\":{\"id\":\"1350\",\"type\":\"VBar\"},\"hover_glyph\":null,\"muted_glyph\":null,\"nonselection_glyph\":{\"id\":\"1351\",\"type\":\"VBar\"},\"selection_glyph\":null,\"view\":{\"id\":\"1353\",\"type\":\"CDSView\"}},\"id\":\"1352\",\"type\":\"GlyphRenderer\"},{\"attributes\":{\"source\":{\"id\":\"1348\",\"type\":\"ColumnDataSource\"}},\"id\":\"1353\",\"type\":\"CDSView\"},{\"attributes\":{\"code\":\"\\n            if (tick.length &gt; 15) return tick.substring(0, 15-2) + '...';\\n            else return tick;\\n        \"},\"id\":\"1354\",\"type\":\"FuncTickFormatter\"},{\"attributes\":{\"below\":[{\"id\":\"1367\",\"type\":\"CategoricalAxis\"}],\"center\":[{\"id\":\"1370\",\"type\":\"Grid\"},{\"id\":\"1375\",\"type\":\"Grid\"}],\"left\":[{\"id\":\"1371\",\"type\":\"LinearAxis\"}],\"plot_height\":300,\"plot_width\":324,\"renderers\":[{\"id\":\"1383\",\"type\":\"GlyphRenderer\"}],\"title\":{\"id\":\"1357\",\"type\":\"Title\"},\"toolbar\":{\"id\":\"1377\",\"type\":\"Toolbar\"},\"toolbar_location\":null,\"x_range\":{\"id\":\"1359\",\"type\":\"FactorRange\"},\"x_scale\":{\"id\":\"1363\",\"type\":\"CategoricalScale\"},\"y_range\":{\"id\":\"1361\",\"type\":\"DataRange1d\"},\"y_scale\":{\"id\":\"1365\",\"type\":\"LinearScale\"}},\"id\":\"1356\",\"subtype\":\"Figure\",\"type\":\"Plot\"},{\"attributes\":{\"children\":[[{\"id\":\"1001\",\"subtype\":\"Figure\",\"type\":\"Plot\"},0,0],[{\"id\":\"1034\",\"subtype\":\"Figure\",\"type\":\"Plot\"},0,1],[{\"id\":\"1067\",\"subtype\":\"Figure\",\"type\":\"Plot\"},0,2],[{\"id\":\"1100\",\"subtype\":\"Figure\",\"type\":\"Plot\"},1,0],[{\"id\":\"1131\",\"subtype\":\"Figure\",\"type\":\"Plot\"},1,1],[{\"id\":\"1162\",\"subtype\":\"Figure\",\"type\":\"Plot\"},1,2],[{\"id\":\"1195\",\"subtype\":\"Figure\",\"type\":\"Plot\"},2,0],[{\"id\":\"1228\",\"subtype\":\"Figure\",\"type\":\"Plot\"},2,1],[{\"id\":\"1261\",\"subtype\":\"Figure\",\"type\":\"Plot\"},2,2],[{\"id\":\"1292\",\"subtype\":\"Figure\",\"type\":\"Plot\"},3,0],[{\"id\":\"1325\",\"subtype\":\"Figure\",\"type\":\"Plot\"},3,1],[{\"id\":\"1356\",\"subtype\":\"Figure\",\"type\":\"Plot\"},3,2]]},\"id\":\"1471\",\"type\":\"GridBox\"},{\"attributes\":{\"callback\":null,\"data\":{\"cnt\":[644,168,77],\"col\":[\"S\",\"C\",\"Q\"],\"index\":[0,1,2],\"pct\":{\"__ndarray__\":\"JYAmTtARUkBpFnaf79oyQODp1vywSCFA\",\"dtype\":\"float64\",\"shape\":[3]}},\"selected\":{\"id\":\"1468\",\"type\":\"Selection\"},\"selection_policy\":{\"id\":\"1469\",\"type\":\"UnionRenderers\"}},\"id\":\"1379\",\"type\":\"ColumnDataSource\"},{\"attributes\":{\"text\":\"Embarked (0.2% missing)\",\"text_font_size\":{\"value\":\"10pt\"}},\"id\":\"1357\",\"type\":\"Title\"},{\"attributes\":{\"callback\":null,\"factors\":[\"S\",\"C\",\"Q\"]},\"id\":\"1359\",\"type\":\"FactorRange\"},{\"attributes\":{\"axis_label\":\"Count\",\"formatter\":{\"id\":\"1417\",\"type\":\"BasicTickFormatter\"},\"major_label_text_font_size\":{\"value\":\"0pt\"},\"major_tick_line_color\":{\"value\":null},\"minor_tick_line_color\":{\"value\":\"white\"},\"ticker\":{\"id\":\"1147\",\"type\":\"BasicTicker\"}},\"id\":\"1146\",\"type\":\"LinearAxis\"},{\"attributes\":{},\"id\":\"1147\",\"type\":\"BasicTicker\"},{\"attributes\":{\"dimension\":1,\"grid_line_color\":null,\"ticker\":{\"id\":\"1147\",\"type\":\"BasicTicker\"}},\"id\":\"1150\",\"type\":\"Grid\"},{\"attributes\":{\"active_drag\":\"auto\",\"active_inspect\":\"auto\",\"active_multi\":null,\"active_scroll\":\"auto\",\"active_tap\":\"auto\",\"tools\":[{\"id\":\"1151\",\"type\":\"HoverTool\"}]},\"id\":\"1152\",\"type\":\"Toolbar\"},{\"attributes\":{\"callback\":null,\"tooltips\":[[\"Sex\",\"@col\"],[\"Count\",\"@cnt\"],[\"Percent\",\"@pct{0.2f}%\"]]},\"id\":\"1151\",\"type\":\"HoverTool\"},{\"attributes\":{},\"id\":\"1202\",\"type\":\"LinearScale\"},{\"attributes\":{\"bottom\":{\"value\":0.01},\"fill_alpha\":{\"value\":0.1},\"fill_color\":{\"value\":\"#1f77b4\"},\"line_alpha\":{\"value\":0.1},\"line_color\":{\"value\":\"#1f77b4\"},\"top\":{\"field\":\"cnt\"},\"width\":{\"value\":0.9},\"x\":{\"field\":\"col\"}},\"id\":\"1157\",\"type\":\"VBar\"},{\"attributes\":{\"bottom\":{\"value\":0.01},\"fill_color\":{\"value\":\"#1f77b4\"},\"line_color\":{\"value\":\"#1f77b4\"},\"top\":{\"field\":\"cnt\"},\"width\":{\"value\":0.9},\"x\":{\"field\":\"col\"}},\"id\":\"1156\",\"type\":\"VBar\"},{\"attributes\":{\"data_source\":{\"id\":\"1154\",\"type\":\"ColumnDataSource\"},\"glyph\":{\"id\":\"1156\",\"type\":\"VBar\"},\"hover_glyph\":null,\"muted_glyph\":null,\"nonselection_glyph\":{\"id\":\"1157\",\"type\":\"VBar\"},\"selection_glyph\":null,\"view\":{\"id\":\"1159\",\"type\":\"CDSView\"}},\"id\":\"1158\",\"type\":\"GlyphRenderer\"},{\"attributes\":{\"source\":{\"id\":\"1154\",\"type\":\"ColumnDataSource\"}},\"id\":\"1159\",\"type\":\"CDSView\"},{\"attributes\":{\"code\":\"\\n            if (tick.length &gt; 15) return tick.substring(0, 15-2) + '...';\\n            else return tick;\\n        \"},\"id\":\"1160\",\"type\":\"FuncTickFormatter\"},{\"attributes\":{\"text\":\"Age (19.9% missing)\",\"text_font_size\":{\"value\":\"10pt\"}},\"id\":\"1163\",\"type\":\"Title\"},{\"attributes\":{\"callback\":null},\"id\":\"1165\",\"type\":\"DataRange1d\"},{\"attributes\":{\"callback\":null},\"id\":\"1167\",\"type\":\"DataRange1d\"},{\"attributes\":{},\"id\":\"1169\",\"type\":\"LinearScale\"},{\"attributes\":{\"below\":[{\"id\":\"1012\",\"type\":\"LinearAxis\"}],\"center\":[{\"id\":\"1016\",\"type\":\"Grid\"},{\"id\":\"1021\",\"type\":\"Grid\"}],\"left\":[{\"id\":\"1017\",\"type\":\"LinearAxis\"}],\"plot_height\":300,\"plot_width\":324,\"renderers\":[{\"id\":\"1027\",\"type\":\"GlyphRenderer\"}],\"title\":{\"id\":\"1002\",\"type\":\"Title\"},\"toolbar\":{\"id\":\"1022\",\"type\":\"Toolbar\"},\"toolbar_location\":null,\"x_range\":{\"id\":\"1004\",\"type\":\"DataRange1d\"},\"x_scale\":{\"id\":\"1008\",\"type\":\"LinearScale\"},\"y_range\":{\"id\":\"1006\",\"type\":\"DataRange1d\"},\"y_scale\":{\"id\":\"1010\",\"type\":\"LinearScale\"}},\"id\":\"1001\",\"subtype\":\"Figure\",\"type\":\"Plot\"},{\"attributes\":{},\"id\":\"1171\",\"type\":\"LinearScale\"},{\"attributes\":{\"formatter\":{\"id\":\"1423\",\"type\":\"BasicTickFormatter\"},\"major_label_orientation\":0,\"major_label_overrides\":{\"0\":\"0\",\"20\":\"20\",\"40\":\"40\",\"60\":\"60\"},\"major_label_standoff\":7,\"major_label_text_font_size\":{\"value\":\"10pt\"},\"major_tick_line_color\":{\"value\":null},\"minor_tick_line_color\":{\"value\":\"white\"},\"ticker\":{\"id\":\"1193\",\"type\":\"FixedTicker\"}},\"id\":\"1173\",\"type\":\"LinearAxis\"},{\"attributes\":{\"text\":\"SibSp\",\"text_font_size\":{\"value\":\"10pt\"}},\"id\":\"1196\",\"type\":\"Title\"},{\"attributes\":{\"grid_line_color\":null,\"ticker\":{\"id\":\"1192\",\"type\":\"FixedTicker\"}},\"id\":\"1177\",\"type\":\"Grid\"},{\"attributes\":{\"axis_label\":\"Frequency\",\"formatter\":{\"id\":\"1424\",\"type\":\"BasicTickFormatter\"},\"major_label_text_font_size\":{\"value\":\"0pt\"},\"major_tick_line_color\":{\"value\":null},\"minor_tick_line_color\":{\"value\":\"white\"},\"ticker\":{\"id\":\"1179\",\"type\":\"BasicTicker\"}},\"id\":\"1178\",\"type\":\"LinearAxis\"},{\"attributes\":{},\"id\":\"1179\",\"type\":\"BasicTicker\"},{\"attributes\":{\"dimension\":1,\"grid_line_color\":null,\"ticker\":{\"id\":\"1179\",\"type\":\"BasicTicker\"}},\"id\":\"1182\",\"type\":\"Grid\"},{\"attributes\":{\"active_drag\":\"auto\",\"active_inspect\":\"auto\",\"active_multi\":null,\"active_scroll\":\"auto\",\"active_tap\":\"auto\",\"tools\":[{\"id\":\"1190\",\"type\":\"HoverTool\"}]},\"id\":\"1183\",\"type\":\"Toolbar\"},{\"attributes\":{\"data_source\":{\"id\":\"1184\",\"type\":\"ColumnDataSource\"},\"glyph\":{\"id\":\"1186\",\"type\":\"Quad\"},\"hover_glyph\":null,\"muted_glyph\":null,\"nonselection_glyph\":{\"id\":\"1187\",\"type\":\"Quad\"},\"selection_glyph\":null,\"view\":{\"id\":\"1189\",\"type\":\"CDSView\"}},\"id\":\"1188\",\"type\":\"GlyphRenderer\"},{\"attributes\":{\"bottom\":{\"value\":0},\"fill_alpha\":{\"value\":0.5},\"fill_color\":{\"value\":\"#6baed6\"},\"left\":{\"field\":\"left\"},\"line_alpha\":{\"value\":0.5},\"line_color\":{\"value\":\"#1f77b4\"},\"right\":{\"field\":\"right\"},\"top\":{\"field\":\"freq\"}},\"id\":\"1186\",\"type\":\"Quad\"},{\"attributes\":{\"callback\":null,\"mode\":\"vline\",\"tooltips\":[[\"Bin\",\"@intervals\"],[\"Frequency\",\"@freq\"],[\"Percent\",\"@pct{0.2f}%\"]]},\"id\":\"1190\",\"type\":\"HoverTool\"},{\"attributes\":{\"bottom\":{\"value\":0.01},\"fill_alpha\":{\"value\":0.1},\"fill_color\":{\"value\":\"#1f77b4\"},\"line_alpha\":{\"value\":0.1},\"line_color\":{\"value\":\"#1f77b4\"},\"top\":{\"field\":\"cnt\"},\"width\":{\"value\":0.9},\"x\":{\"field\":\"col\"}},\"id\":\"1287\",\"type\":\"VBar\"},{\"attributes\":{\"source\":{\"id\":\"1184\",\"type\":\"ColumnDataSource\"}},\"id\":\"1189\",\"type\":\"CDSView\"},{\"attributes\":{\"bottom\":{\"value\":0},\"fill_alpha\":{\"value\":0.1},\"fill_color\":{\"value\":\"#1f77b4\"},\"left\":{\"field\":\"left\"},\"line_alpha\":{\"value\":0.1},\"line_color\":{\"value\":\"#1f77b4\"},\"right\":{\"field\":\"right\"},\"top\":{\"field\":\"freq\"}},\"id\":\"1187\",\"type\":\"Quad\"},{\"attributes\":{\"callback\":null},\"id\":\"1200\",\"type\":\"DataRange1d\"},{\"attributes\":{\"below\":[{\"id\":\"1206\",\"type\":\"LinearAxis\"}],\"center\":[{\"id\":\"1210\",\"type\":\"Grid\"},{\"id\":\"1215\",\"type\":\"Grid\"}],\"left\":[{\"id\":\"1211\",\"type\":\"LinearAxis\"}],\"plot_height\":300,\"plot_width\":324,\"renderers\":[{\"id\":\"1221\",\"type\":\"GlyphRenderer\"}],\"title\":{\"id\":\"1196\",\"type\":\"Title\"},\"toolbar\":{\"id\":\"1216\",\"type\":\"Toolbar\"},\"toolbar_location\":null,\"x_range\":{\"id\":\"1198\",\"type\":\"DataRange1d\"},\"x_scale\":{\"id\":\"1202\",\"type\":\"LinearScale\"},\"y_range\":{\"id\":\"1200\",\"type\":\"DataRange1d\"},\"y_scale\":{\"id\":\"1204\",\"type\":\"LinearScale\"}},\"id\":\"1195\",\"subtype\":\"Figure\",\"type\":\"Plot\"},{\"attributes\":{\"callback\":null,\"data\":{\"freq\":[608,209,28,16,0,18,5,0,0,7],\"index\":[0,1,2,3,4,5,6,7,8,9],\"intervals\":[\"[0.0,0.8)\",\"[0.8,1.6)\",\"[1.6,2.4)\",\"[2.4,3.2)\",\"[3.2,4.0)\",\"[4.0,4.8)\",\"[4.8,5.6)\",\"[5.6,6.4)\",\"[6.4,7.2)\",\"[7.2,8.0]\"],\"left\":{\"__ndarray__\":\"AAAAAAAAAACamZmZmZnpP5qZmZmZmfk/NDMzMzMzA0CamZmZmZkJQAAAAAAAABBANDMzMzMzE0BnZmZmZmYWQJqZmZmZmRlAzczMzMzMHEA=\",\"dtype\":\"float64\",\"shape\":[10]},\"pct\":{\"__ndarray__\":\"zXVSUzoPUUD5YZEy8HQ3QI3I8inqIwlAxgk6wlS7/D8AAAAAAAAAAH+lQK1fKQBAG0Zk+RT14T8AAAAAAAAAAAAAAAAAAAAAjcjyKeoj6T8=\",\"dtype\":\"float64\",\"shape\":[10]},\"right\":{\"__ndarray__\":\"mpmZmZmZ6T+amZmZmZn5PzQzMzMzMwNAmpmZmZmZCUAAAAAAAAAQQDQzMzMzMxNAZ2ZmZmZmFkCamZmZmZkZQM3MzMzMzBxAAAAAAAAAIEA=\",\"dtype\":\"float64\",\"shape\":[10]}},\"selected\":{\"id\":\"1433\",\"type\":\"Selection\"},\"selection_policy\":{\"id\":\"1434\",\"type\":\"UnionRenderers\"}},\"id\":\"1217\",\"type\":\"ColumnDataSource\"},{\"attributes\":{\"callback\":null},\"id\":\"1198\",\"type\":\"DataRange1d\"},{\"attributes\":{\"ticks\":[0,20,40,60]},\"id\":\"1192\",\"type\":\"FixedTicker\"},{\"attributes\":{\"axis_label\":\"Frequency\",\"formatter\":{\"id\":\"1403\",\"type\":\"BasicTickFormatter\"},\"major_label_text_font_size\":{\"value\":\"0pt\"},\"major_tick_line_color\":{\"value\":null},\"minor_tick_line_color\":{\"value\":\"white\"},\"ticker\":{\"id\":\"1084\",\"type\":\"BasicTicker\"}},\"id\":\"1083\",\"type\":\"LinearAxis\"},{\"attributes\":{\"callback\":null,\"data\":{\"freq\":[216,0,0,0,0,184,0,0,0,491],\"index\":[0,1,2,3,4,5,6,7,8,9],\"intervals\":[\"[1.0,1.2)\",\"[1.2,1.4)\",\"[1.4,1.6)\",\"[1.6,1.8)\",\"[1.8,2.0)\",\"[2.0,2.2)\",\"[2.2,2.4)\",\"[2.4,2.6)\",\"[2.6,2.8)\",\"[2.8,3.0]\"],\"left\":{\"__ndarray__\":\"AAAAAAAA8D8zMzMzMzPzP2ZmZmZmZvY/mpmZmZmZ+T/NzMzMzMz8PwAAAAAAAABAmpmZmZmZAUA0MzMzMzMDQM3MzMzMzARAZmZmZmZmBkA=\",\"dtype\":\"float64\",\"shape\":[10]},\"pct\":{\"__ndarray__\":\"Pvjggw8+OEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAa3meukpjRAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAX6hCyKWNS0A=\",\"dtype\":\"float64\",\"shape\":[10]},\"right\":{\"__ndarray__\":\"MzMzMzMz8z9mZmZmZmb2P5qZmZmZmfk/zczMzMzM/D8AAAAAAAAAQJqZmZmZmQFANDMzMzMzA0DNzMzMzMwEQGZmZmZmZgZAAAAAAAAACEA=\",\"dtype\":\"float64\",\"shape\":[10]}},\"selected\":{\"id\":\"1405\",\"type\":\"Selection\"},\"selection_policy\":{\"id\":\"1406\",\"type\":\"UnionRenderers\"}},\"id\":\"1089\",\"type\":\"ColumnDataSource\"},{\"attributes\":{\"ticks\":[0,20,40,60]},\"id\":\"1193\",\"type\":\"FixedTicker\"},{\"attributes\":{\"data_source\":{\"id\":\"1023\",\"type\":\"ColumnDataSource\"},\"glyph\":{\"id\":\"1025\",\"type\":\"Quad\"},\"hover_glyph\":null,\"muted_glyph\":null,\"nonselection_glyph\":{\"id\":\"1026\",\"type\":\"Quad\"},\"selection_glyph\":null,\"view\":{\"id\":\"1028\",\"type\":\"CDSView\"}},\"id\":\"1027\",\"type\":\"GlyphRenderer\"},{\"attributes\":{\"bottom\":{\"value\":0},\"fill_alpha\":{\"value\":0.5},\"fill_color\":{\"value\":\"#6baed6\"},\"left\":{\"field\":\"left\"},\"line_alpha\":{\"value\":0.5},\"line_color\":{\"value\":\"#1f77b4\"},\"right\":{\"field\":\"right\"},\"top\":{\"field\":\"freq\"}},\"id\":\"1025\",\"type\":\"Quad\"},{\"attributes\":{\"source\":{\"id\":\"1056\",\"type\":\"ColumnDataSource\"}},\"id\":\"1061\",\"type\":\"CDSView\"},{\"attributes\":{},\"id\":\"1084\",\"type\":\"BasicTicker\"},{\"attributes\":{\"active_drag\":\"auto\",\"active_inspect\":\"auto\",\"active_multi\":null,\"active_scroll\":\"auto\",\"active_tap\":\"auto\",\"tools\":[{\"id\":\"1029\",\"type\":\"HoverTool\"}]},\"id\":\"1022\",\"type\":\"Toolbar\"},{\"attributes\":{\"text\":\"Parch\",\"text_font_size\":{\"value\":\"10pt\"}},\"id\":\"1229\",\"type\":\"Title\"},{\"attributes\":{\"dimension\":1,\"grid_line_color\":null,\"ticker\":{\"id\":\"1084\",\"type\":\"BasicTicker\"}},\"id\":\"1087\",\"type\":\"Grid\"},{\"attributes\":{\"grid_line_color\":null,\"ticker\":{\"id\":\"1225\",\"type\":\"FixedTicker\"}},\"id\":\"1210\",\"type\":\"Grid\"},{\"attributes\":{\"axis_label\":\"Frequency\",\"formatter\":{\"id\":\"1431\",\"type\":\"BasicTickFormatter\"},\"major_label_text_font_size\":{\"value\":\"0pt\"},\"major_tick_line_color\":{\"value\":null},\"minor_tick_line_color\":{\"value\":\"white\"},\"ticker\":{\"id\":\"1212\",\"type\":\"BasicTicker\"}},\"id\":\"1211\",\"type\":\"LinearAxis\"},{\"attributes\":{\"active_drag\":\"auto\",\"active_inspect\":\"auto\",\"active_multi\":null,\"active_scroll\":\"auto\",\"active_tap\":\"auto\",\"tools\":[{\"id\":\"1095\",\"type\":\"HoverTool\"}]},\"id\":\"1088\",\"type\":\"Toolbar\"},{\"attributes\":{\"dimension\":1,\"grid_line_color\":null,\"ticker\":{\"id\":\"1018\",\"type\":\"BasicTicker\"}},\"id\":\"1021\",\"type\":\"Grid\"},{\"attributes\":{\"bottom\":{\"value\":0},\"fill_alpha\":{\"value\":0.1},\"fill_color\":{\"value\":\"#1f77b4\"},\"left\":{\"field\":\"left\"},\"line_alpha\":{\"value\":0.1},\"line_color\":{\"value\":\"#1f77b4\"},\"right\":{\"field\":\"right\"},\"top\":{\"field\":\"freq\"}},\"id\":\"1059\",\"type\":\"Quad\"},{\"attributes\":{},\"id\":\"1212\",\"type\":\"BasicTicker\"},{\"attributes\":{\"dimension\":1,\"grid_line_color\":null,\"ticker\":{\"id\":\"1212\",\"type\":\"BasicTicker\"}},\"id\":\"1215\",\"type\":\"Grid\"},{\"attributes\":{\"below\":[{\"id\":\"1078\",\"type\":\"LinearAxis\"}],\"center\":[{\"id\":\"1082\",\"type\":\"Grid\"},{\"id\":\"1087\",\"type\":\"Grid\"}],\"left\":[{\"id\":\"1083\",\"type\":\"LinearAxis\"}],\"plot_height\":300,\"plot_width\":324,\"renderers\":[{\"id\":\"1093\",\"type\":\"GlyphRenderer\"}],\"title\":{\"id\":\"1068\",\"type\":\"Title\"},\"toolbar\":{\"id\":\"1088\",\"type\":\"Toolbar\"},\"toolbar_location\":null,\"x_range\":{\"id\":\"1070\",\"type\":\"DataRange1d\"},\"x_scale\":{\"id\":\"1074\",\"type\":\"LinearScale\"},\"y_range\":{\"id\":\"1072\",\"type\":\"DataRange1d\"},\"y_scale\":{\"id\":\"1076\",\"type\":\"LinearScale\"}},\"id\":\"1067\",\"subtype\":\"Figure\",\"type\":\"Plot\"},{\"attributes\":{\"active_drag\":\"auto\",\"active_inspect\":\"auto\",\"active_multi\":null,\"active_scroll\":\"auto\",\"active_tap\":\"auto\",\"tools\":[{\"id\":\"1223\",\"type\":\"HoverTool\"}]},\"id\":\"1216\",\"type\":\"Toolbar\"},{\"attributes\":{\"callback\":null,\"mode\":\"vline\",\"tooltips\":[[\"Bin\",\"@intervals\"],[\"Frequency\",\"@freq\"],[\"Percent\",\"@pct{0.2f}%\"]]},\"id\":\"1029\",\"type\":\"HoverTool\"},{\"attributes\":{\"text\":\"Pclass\",\"text_font_size\":{\"value\":\"10pt\"}},\"id\":\"1068\",\"type\":\"Title\"},{\"attributes\":{\"callback\":null},\"id\":\"1072\",\"type\":\"DataRange1d\"},{\"attributes\":{\"bottom\":{\"value\":0},\"fill_alpha\":{\"value\":0.1},\"fill_color\":{\"value\":\"#1f77b4\"},\"left\":{\"field\":\"left\"},\"line_alpha\":{\"value\":0.1},\"line_color\":{\"value\":\"#1f77b4\"},\"right\":{\"field\":\"right\"},\"top\":{\"field\":\"freq\"}},\"id\":\"1317\",\"type\":\"Quad\"},{\"attributes\":{\"data_source\":{\"id\":\"1217\",\"type\":\"ColumnDataSource\"},\"glyph\":{\"id\":\"1219\",\"type\":\"Quad\"},\"hover_glyph\":null,\"muted_glyph\":null,\"nonselection_glyph\":{\"id\":\"1220\",\"type\":\"Quad\"},\"selection_glyph\":null,\"view\":{\"id\":\"1222\",\"type\":\"CDSView\"}},\"id\":\"1221\",\"type\":\"GlyphRenderer\"},{\"attributes\":{\"bottom\":{\"value\":0.01},\"fill_alpha\":{\"value\":0.1},\"fill_color\":{\"value\":\"#1f77b4\"},\"line_alpha\":{\"value\":0.1},\"line_color\":{\"value\":\"#1f77b4\"},\"top\":{\"field\":\"cnt\"},\"width\":{\"value\":0.9},\"x\":{\"field\":\"col\"}},\"id\":\"1126\",\"type\":\"VBar\"},{\"attributes\":{\"bottom\":{\"value\":0},\"fill_alpha\":{\"value\":0.5},\"fill_color\":{\"value\":\"#6baed6\"},\"left\":{\"field\":\"left\"},\"line_alpha\":{\"value\":0.5},\"line_color\":{\"value\":\"#1f77b4\"},\"right\":{\"field\":\"right\"},\"top\":{\"field\":\"freq\"}},\"id\":\"1219\",\"type\":\"Quad\"},{\"attributes\":{\"callback\":null,\"mode\":\"vline\",\"tooltips\":[[\"Bin\",\"@intervals\"],[\"Frequency\",\"@freq\"],[\"Percent\",\"@pct{0.2f}%\"]]},\"id\":\"1223\",\"type\":\"HoverTool\"},{\"attributes\":{},\"id\":\"1395\",\"type\":\"BasicTickFormatter\"},{\"attributes\":{\"source\":{\"id\":\"1217\",\"type\":\"ColumnDataSource\"}},\"id\":\"1222\",\"type\":\"CDSView\"},{\"attributes\":{\"bottom\":{\"value\":0},\"fill_alpha\":{\"value\":0.1},\"fill_color\":{\"value\":\"#1f77b4\"},\"left\":{\"field\":\"left\"},\"line_alpha\":{\"value\":0.1},\"line_color\":{\"value\":\"#1f77b4\"},\"right\":{\"field\":\"right\"},\"top\":{\"field\":\"freq\"}},\"id\":\"1220\",\"type\":\"Quad\"},{\"attributes\":{\"callback\":null,\"mode\":\"vline\",\"tooltips\":[[\"Bin\",\"@intervals\"],[\"Frequency\",\"@freq\"],[\"Percent\",\"@pct{0.2f}%\"]]},\"id\":\"1062\",\"type\":\"HoverTool\"},{\"attributes\":{},\"id\":\"1076\",\"type\":\"LinearScale\"},{\"attributes\":{\"callback\":null,\"data\":{\"freq\":[54,46,177,169,118,70,45,24,9,2],\"index\":[0,1,2,3,4,5,6,7,8,9],\"intervals\":[\"[0.42,8.378)\",\"[8.378,16.336)\",\"[16.336,24.294)\",\"[24.294,32.252)\",\"[32.252,40.21)\",\"[40.21,48.168)\",\"[48.168,56.126)\",\"[56.126,64.084)\",\"[64.084,72.042)\",\"[72.042,80.0]\"],\"left\":{\"__ndarray__\":\"4XoUrkfh2j+oxks3icEgQL10kxgEVjBAJgaBlUNLOEDHSzeJQSBAQHsUrkfhGkRAMN0kBoEVSEDkpZvEIBBMQEw3iUFgBVBAppvEILACUkA=\",\"dtype\":\"float64\",\"shape\":[10]},\"pct\":{\"__ndarray__\":\"Pvjggw8+GEAGt5nrpKYUQMEgSpqF3TNAc1A49Kr3MkACgQ0jsnwqQLB6b7TkbB9A3s6QmLczFEBTh6uRf4wFQH+lQK1fKfA/xgk6wlS7zD8=\",\"dtype\":\"float64\",\"shape\":[10]},\"right\":{\"__ndarray__\":\"qMZLN4nBIEC9dJMYBFYwQCYGgZVDSzhAx0s3iUEgQEB7FK5H4RpEQDDdJAaBFUhA5KWbxCAQTEBMN4lBYAVQQKabxCCwAlJAAAAAAAAAVEA=\",\"dtype\":\"float64\",\"shape\":[10]}},\"selected\":{\"id\":\"1426\",\"type\":\"Selection\"},\"selection_policy\":{\"id\":\"1427\",\"type\":\"UnionRenderers\"}},\"id\":\"1184\",\"type\":\"ColumnDataSource\"},{\"attributes\":{\"below\":[{\"id\":\"1239\",\"type\":\"LinearAxis\"}],\"center\":[{\"id\":\"1243\",\"type\":\"Grid\"},{\"id\":\"1248\",\"type\":\"Grid\"}],\"left\":[{\"id\":\"1244\",\"type\":\"LinearAxis\"}],\"plot_height\":300,\"plot_width\":324,\"renderers\":[{\"id\":\"1254\",\"type\":\"GlyphRenderer\"}],\"title\":{\"id\":\"1229\",\"type\":\"Title\"},\"toolbar\":{\"id\":\"1249\",\"type\":\"Toolbar\"},\"toolbar_location\":null,\"x_range\":{\"id\":\"1231\",\"type\":\"DataRange1d\"},\"x_scale\":{\"id\":\"1235\",\"type\":\"LinearScale\"},\"y_range\":{\"id\":\"1233\",\"type\":\"DataRange1d\"},\"y_scale\":{\"id\":\"1237\",\"type\":\"LinearScale\"}},\"id\":\"1228\",\"subtype\":\"Figure\",\"type\":\"Plot\"},{\"attributes\":{\"source\":{\"id\":\"1023\",\"type\":\"ColumnDataSource\"}},\"id\":\"1028\",\"type\":\"CDSView\"},{\"attributes\":{},\"id\":\"1043\",\"type\":\"LinearScale\"},{\"attributes\":{\"callback\":null},\"id\":\"1070\",\"type\":\"DataRange1d\"},{\"attributes\":{\"formatter\":{\"id\":\"1402\",\"type\":\"BasicTickFormatter\"},\"major_label_orientation\":0,\"major_label_overrides\":{\"1\":\"1\",\"1.4\":\"1.4\",\"1.8\":\"1.8\",\"2.2\":\"2.2\",\"2.6\":\"2.6\",\"3\":\"3\"},\"major_label_standoff\":7,\"major_label_text_font_size\":{\"value\":\"10pt\"},\"major_tick_line_color\":{\"value\":null},\"minor_tick_line_color\":{\"value\":\"white\"},\"ticker\":{\"id\":\"1098\",\"type\":\"FixedTicker\"}},\"id\":\"1078\",\"type\":\"LinearAxis\"},{\"attributes\":{\"callback\":null,\"data\":{\"freq\":[678,118,0,80,0,5,4,0,5,1],\"index\":[0,1,2,3,4,5,6,7,8,9],\"intervals\":[\"[0.0,0.6)\",\"[0.6,1.2)\",\"[1.2,1.8)\",\"[1.8,2.4)\",\"[2.4,3.0)\",\"[3.0,3.6)\",\"[3.6,4.2)\",\"[4.2,4.8)\",\"[4.8,5.4)\",\"[5.4,6.0]\"],\"left\":{\"__ndarray__\":\"AAAAAAAAAAAzMzMzMzPjPzMzMzMzM/M/zMzMzMzM/D8zMzMzMzMDQAAAAAAAAAhAzMzMzMzMDEDNzMzMzMwQQDMzMzMzMxNAmZmZmZmZFUA=\",\"dtype\":\"float64\",\"shape\":[10]},\"pct\":{\"__ndarray__\":\"eG2ZnggGU0ACgQ0jsnwqQAAAAAAAAAAAG0Zk+RT1IUAAAAAAAAAAABtGZPkU9eE/xgk6wlS73D8AAAAAAAAAABtGZPkU9eE/xgk6wlS7vD8=\",\"dtype\":\"float64\",\"shape\":[10]},\"right\":{\"__ndarray__\":\"MzMzMzMz4z8zMzMzMzPzP8zMzMzMzPw/MzMzMzMzA0AAAAAAAAAIQMzMzMzMzAxAzczMzMzMEEAzMzMzMzMTQJmZmZmZmRVAAAAAAAAAGEA=\",\"dtype\":\"float64\",\"shape\":[10]}},\"selected\":{\"id\":\"1440\",\"type\":\"Selection\"},\"selection_policy\":{\"id\":\"1441\",\"type\":\"UnionRenderers\"}},\"id\":\"1250\",\"type\":\"ColumnDataSource\"},{\"attributes\":{\"ticks\":[0,0.2,0.4,0.6,0.8]},\"id\":\"1064\",\"type\":\"FixedTicker\"},{\"attributes\":{\"callback\":null,\"data\":{\"freq\":[549,0,0,0,0,0,0,0,0,342],\"index\":[0,1,2,3,4,5,6,7,8,9],\"intervals\":[\"[0.0,0.1)\",\"[0.1,0.2)\",\"[0.2,0.3)\",\"[0.3,0.4)\",\"[0.4,0.5)\",\"[0.5,0.6)\",\"[0.6,0.7)\",\"[0.7,0.8)\",\"[0.8,0.9)\",\"[0.9,1.0]\"],\"left\":{\"__ndarray__\":\"AAAAAAAAAACamZmZmZm5P5qZmZmZmck/NDMzMzMz0z+amZmZmZnZPwAAAAAAAOA/NDMzMzMz4z9nZmZmZmbmP5qZmZmZmek/zczMzMzM7D8=\",\"dtype\":\"float64\",\"shape\":[10]},\"pct\":{\"__ndarray__\":\"eTtDYt7OTkAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAhsS8nSExQ0A=\",\"dtype\":\"float64\",\"shape\":[10]},\"right\":{\"__ndarray__\":\"mpmZmZmZuT+amZmZmZnJPzQzMzMzM9M/mpmZmZmZ2T8AAAAAAADgPzQzMzMzM+M/Z2ZmZmZm5j+amZmZmZnpP83MzMzMzOw/AAAAAAAA8D8=\",\"dtype\":\"float64\",\"shape\":[10]}},\"selected\":{\"id\":\"1398\",\"type\":\"Selection\"},\"selection_policy\":{\"id\":\"1399\",\"type\":\"UnionRenderers\"}},\"id\":\"1056\",\"type\":\"ColumnDataSource\"},{\"attributes\":{\"bottom\":{\"value\":0},\"fill_alpha\":{\"value\":0.1},\"fill_color\":{\"value\":\"#1f77b4\"},\"left\":{\"field\":\"left\"},\"line_alpha\":{\"value\":0.1},\"line_color\":{\"value\":\"#1f77b4\"},\"right\":{\"field\":\"right\"},\"top\":{\"field\":\"freq\"}},\"id\":\"1026\",\"type\":\"Quad\"},{\"attributes\":{\"callback\":null},\"id\":\"1231\",\"type\":\"DataRange1d\"},{\"attributes\":{\"ticks\":[0,2,4,6]},\"id\":\"1225\",\"type\":\"FixedTicker\"},{\"attributes\":{\"ticks\":[0,0.2,0.4,0.6,0.8]},\"id\":\"1065\",\"type\":\"FixedTicker\"},{\"attributes\":{\"ticks\":[0,2,4,6]},\"id\":\"1226\",\"type\":\"FixedTicker\"},{\"attributes\":{\"bottom\":{\"value\":0},\"fill_alpha\":{\"value\":0.5},\"fill_color\":{\"value\":\"#6baed6\"},\"left\":{\"field\":\"left\"},\"line_alpha\":{\"value\":0.5},\"line_color\":{\"value\":\"#1f77b4\"},\"right\":{\"field\":\"right\"},\"top\":{\"field\":\"freq\"}},\"id\":\"1091\",\"type\":\"Quad\"},{\"attributes\":{\"callback\":null},\"id\":\"1233\",\"type\":\"DataRange1d\"},{\"attributes\":{},\"id\":\"1235\",\"type\":\"LinearScale\"},{\"attributes\":{\"callback\":null,\"mode\":\"vline\",\"tooltips\":[[\"Bin\",\"@intervals\"],[\"Frequency\",\"@freq\"],[\"Percent\",\"@pct{0.2f}%\"]]},\"id\":\"1095\",\"type\":\"HoverTool\"},{\"attributes\":{},\"id\":\"1237\",\"type\":\"LinearScale\"},{\"attributes\":{\"source\":{\"id\":\"1089\",\"type\":\"ColumnDataSource\"}},\"id\":\"1094\",\"type\":\"CDSView\"},{\"attributes\":{\"grid_line_color\":null,\"ticker\":{\"id\":\"1064\",\"type\":\"FixedTicker\"}},\"id\":\"1049\",\"type\":\"Grid\"},{\"attributes\":{\"formatter\":{\"id\":\"1437\",\"type\":\"BasicTickFormatter\"},\"major_label_orientation\":0,\"major_label_overrides\":{\"0\":\"0\",\"1\":\"1\",\"2\":\"2\",\"3\":\"3\",\"4\":\"4\",\"5\":\"5\"},\"major_label_standoff\":7,\"major_label_text_font_size\":{\"value\":\"10pt\"},\"major_tick_line_color\":{\"value\":null},\"minor_tick_line_color\":{\"value\":\"white\"},\"ticker\":{\"id\":\"1259\",\"type\":\"FixedTicker\"}},\"id\":\"1239\",\"type\":\"LinearAxis\"},{\"attributes\":{\"callback\":null},\"id\":\"1037\",\"type\":\"DataRange1d\"},{\"attributes\":{\"axis_label\":\"Frequency\",\"formatter\":{\"id\":\"1396\",\"type\":\"BasicTickFormatter\"},\"major_label_text_font_size\":{\"value\":\"0pt\"},\"major_tick_line_color\":{\"value\":null},\"minor_tick_line_color\":{\"value\":\"white\"},\"ticker\":{\"id\":\"1051\",\"type\":\"BasicTicker\"}},\"id\":\"1050\",\"type\":\"LinearAxis\"},{\"attributes\":{\"below\":[{\"id\":\"1303\",\"type\":\"LinearAxis\"}],\"center\":[{\"id\":\"1307\",\"type\":\"Grid\"},{\"id\":\"1312\",\"type\":\"Grid\"}],\"left\":[{\"id\":\"1308\",\"type\":\"LinearAxis\"}],\"plot_height\":300,\"plot_width\":324,\"renderers\":[{\"id\":\"1318\",\"type\":\"GlyphRenderer\"}],\"title\":{\"id\":\"1293\",\"type\":\"Title\"},\"toolbar\":{\"id\":\"1313\",\"type\":\"Toolbar\"},\"toolbar_location\":null,\"x_range\":{\"id\":\"1295\",\"type\":\"DataRange1d\"},\"x_scale\":{\"id\":\"1299\",\"type\":\"LinearScale\"},\"y_range\":{\"id\":\"1297\",\"type\":\"DataRange1d\"},\"y_scale\":{\"id\":\"1301\",\"type\":\"LinearScale\"}},\"id\":\"1292\",\"subtype\":\"Figure\",\"type\":\"Plot\"},{\"attributes\":{\"formatter\":{\"id\":\"1430\",\"type\":\"BasicTickFormatter\"},\"major_label_orientation\":0,\"major_label_overrides\":{\"0\":\"0\",\"2\":\"2\",\"4\":\"4\",\"6\":\"6\"},\"major_label_standoff\":7,\"major_label_text_font_size\":{\"value\":\"10pt\"},\"major_tick_line_color\":{\"value\":null},\"minor_tick_line_color\":{\"value\":\"white\"},\"ticker\":{\"id\":\"1226\",\"type\":\"FixedTicker\"}},\"id\":\"1206\",\"type\":\"LinearAxis\"},{\"attributes\":{\"grid_line_color\":null,\"ticker\":{\"id\":\"1258\",\"type\":\"FixedTicker\"}},\"id\":\"1243\",\"type\":\"Grid\"},{\"attributes\":{\"ticks\":[0,200,400,600,800]},\"id\":\"1032\",\"type\":\"FixedTicker\"},{\"attributes\":{},\"id\":\"1051\",\"type\":\"BasicTicker\"},{\"attributes\":{\"formatter\":{\"id\":\"1395\",\"type\":\"BasicTickFormatter\"},\"major_label_orientation\":0,\"major_label_overrides\":{\"0\":\"0\",\"0.2\":\"0.2\",\"0.4\":\"0.4\",\"0.6\":\"0.6\",\"0.8\":\"0.8\"},\"major_label_standoff\":7,\"major_label_text_font_size\":{\"value\":\"10pt\"},\"major_tick_line_color\":{\"value\":null},\"minor_tick_line_color\":{\"value\":\"white\"},\"ticker\":{\"id\":\"1065\",\"type\":\"FixedTicker\"}},\"id\":\"1045\",\"type\":\"LinearAxis\"},{\"attributes\":{\"axis_label\":\"Frequency\",\"formatter\":{\"id\":\"1438\",\"type\":\"BasicTickFormatter\"},\"major_label_text_font_size\":{\"value\":\"0pt\"},\"major_tick_line_color\":{\"value\":null},\"minor_tick_line_color\":{\"value\":\"white\"},\"ticker\":{\"id\":\"1245\",\"type\":\"BasicTicker\"}},\"id\":\"1244\",\"type\":\"LinearAxis\"},{\"attributes\":{\"dimension\":1,\"grid_line_color\":null,\"ticker\":{\"id\":\"1051\",\"type\":\"BasicTicker\"}},\"id\":\"1054\",\"type\":\"Grid\"},{\"attributes\":{\"ticks\":[0,200,400,600,800]},\"id\":\"1031\",\"type\":\"FixedTicker\"},{\"attributes\":{\"bottom\":{\"value\":0},\"fill_alpha\":{\"value\":0.1},\"fill_color\":{\"value\":\"#1f77b4\"},\"left\":{\"field\":\"left\"},\"line_alpha\":{\"value\":0.1},\"line_color\":{\"value\":\"#1f77b4\"},\"right\":{\"field\":\"right\"},\"top\":{\"field\":\"freq\"}},\"id\":\"1092\",\"type\":\"Quad\"},{\"attributes\":{},\"id\":\"1245\",\"type\":\"BasicTicker\"},{\"attributes\":{\"active_drag\":\"auto\",\"active_inspect\":\"auto\",\"active_multi\":null,\"active_scroll\":\"auto\",\"active_tap\":\"auto\",\"tools\":[{\"id\":\"1062\",\"type\":\"HoverTool\"}]},\"id\":\"1055\",\"type\":\"Toolbar\"},{\"attributes\":{\"dimension\":1,\"grid_line_color\":null,\"ticker\":{\"id\":\"1245\",\"type\":\"BasicTicker\"}},\"id\":\"1248\",\"type\":\"Grid\"},{\"attributes\":{\"text\":\"Survived\",\"text_font_size\":{\"value\":\"10pt\"}},\"id\":\"1035\",\"type\":\"Title\"},{\"attributes\":{\"active_drag\":\"auto\",\"active_inspect\":\"auto\",\"active_multi\":null,\"active_scroll\":\"auto\",\"active_tap\":\"auto\",\"tools\":[{\"id\":\"1256\",\"type\":\"HoverTool\"}]},\"id\":\"1249\",\"type\":\"Toolbar\"},{\"attributes\":{},\"id\":\"1074\",\"type\":\"LinearScale\"},{\"attributes\":{},\"id\":\"1041\",\"type\":\"LinearScale\"},{\"attributes\":{\"data_source\":{\"id\":\"1056\",\"type\":\"ColumnDataSource\"},\"glyph\":{\"id\":\"1058\",\"type\":\"Quad\"},\"hover_glyph\":null,\"muted_glyph\":null,\"nonselection_glyph\":{\"id\":\"1059\",\"type\":\"Quad\"},\"selection_glyph\":null,\"view\":{\"id\":\"1061\",\"type\":\"CDSView\"}},\"id\":\"1060\",\"type\":\"GlyphRenderer\"},{\"attributes\":{\"callback\":null},\"id\":\"1039\",\"type\":\"DataRange1d\"},{\"attributes\":{\"grid_line_color\":null,\"ticker\":{\"id\":\"1097\",\"type\":\"FixedTicker\"}},\"id\":\"1082\",\"type\":\"Grid\"},{\"attributes\":{\"bottom\":{\"value\":0},\"fill_alpha\":{\"value\":0.5},\"fill_color\":{\"value\":\"#6baed6\"},\"left\":{\"field\":\"left\"},\"line_alpha\":{\"value\":0.5},\"line_color\":{\"value\":\"#1f77b4\"},\"right\":{\"field\":\"right\"},\"top\":{\"field\":\"freq\"}},\"id\":\"1316\",\"type\":\"Quad\"},{\"attributes\":{\"data_source\":{\"id\":\"1089\",\"type\":\"ColumnDataSource\"},\"glyph\":{\"id\":\"1091\",\"type\":\"Quad\"},\"hover_glyph\":null,\"muted_glyph\":null,\"nonselection_glyph\":{\"id\":\"1092\",\"type\":\"Quad\"},\"selection_glyph\":null,\"view\":{\"id\":\"1094\",\"type\":\"CDSView\"}},\"id\":\"1093\",\"type\":\"GlyphRenderer\"},{\"attributes\":{\"data_source\":{\"id\":\"1250\",\"type\":\"ColumnDataSource\"},\"glyph\":{\"id\":\"1252\",\"type\":\"Quad\"},\"hover_glyph\":null,\"muted_glyph\":null,\"nonselection_glyph\":{\"id\":\"1253\",\"type\":\"Quad\"},\"selection_glyph\":null,\"view\":{\"id\":\"1255\",\"type\":\"CDSView\"}},\"id\":\"1254\",\"type\":\"GlyphRenderer\"},{\"attributes\":{\"bottom\":{\"value\":0},\"fill_alpha\":{\"value\":0.5},\"fill_color\":{\"value\":\"#6baed6\"},\"left\":{\"field\":\"left\"},\"line_alpha\":{\"value\":0.5},\"line_color\":{\"value\":\"#1f77b4\"},\"right\":{\"field\":\"right\"},\"top\":{\"field\":\"freq\"}},\"id\":\"1058\",\"type\":\"Quad\"},{\"attributes\":{\"source\":{\"id\":\"1250\",\"type\":\"ColumnDataSource\"}},\"id\":\"1255\",\"type\":\"CDSView\"},{\"attributes\":{\"bottom\":{\"value\":0},\"fill_alpha\":{\"value\":0.1},\"fill_color\":{\"value\":\"#1f77b4\"},\"left\":{\"field\":\"left\"},\"line_alpha\":{\"value\":0.1},\"line_color\":{\"value\":\"#1f77b4\"},\"right\":{\"field\":\"right\"},\"top\":{\"field\":\"freq\"}},\"id\":\"1253\",\"type\":\"Quad\"},{\"attributes\":{},\"id\":\"1018\",\"type\":\"BasicTicker\"},{\"attributes\":{\"bottom\":{\"value\":0},\"fill_alpha\":{\"value\":0.5},\"fill_color\":{\"value\":\"#6baed6\"},\"left\":{\"field\":\"left\"},\"line_alpha\":{\"value\":0.5},\"line_color\":{\"value\":\"#1f77b4\"},\"right\":{\"field\":\"right\"},\"top\":{\"field\":\"freq\"}},\"id\":\"1252\",\"type\":\"Quad\"}],\"root_ids\":[\"1471\"]},\"title\":\"Bokeh Application\",\"version\":\"1.4.0\"}}\n",
       "        </script>\n",
       "        <script type=\"text/javascript\">\n",
       "          (function() {\n",
       "            var fn = function() {\n",
       "              Bokeh.safely(function() {\n",
       "                (function(root) {\n",
       "                  function embed_document(root) {\n",
       "                    \n",
       "                  var docs_json = document.getElementById('2336').textContent;\n",
       "                  var render_items = [{\"docid\":\"31867a82-e238-4efb-acbe-476b67d07759\",\"roots\":{\"1471\":\"ce0bb320-5a4d-454e-9dd6-3a1ecd0f1879\"}}];\n",
       "                  root.Bokeh.embed.embed_items(docs_json, render_items);\n",
       "                \n",
       "                  }\n",
       "                  if (root.Bokeh !== undefined) {\n",
       "                    embed_document(root);\n",
       "                  } else {\n",
       "                    var attempts = 0;\n",
       "                    var timer = setInterval(function(root) {\n",
       "                      if (root.Bokeh !== undefined) {\n",
       "                        clearInterval(timer);\n",
       "                        embed_document(root);\n",
       "                      } else {\n",
       "                        attempts++;\n",
       "                        if (attempts > 100) {\n",
       "                          clearInterval(timer);\n",
       "                          console.log(\"Bokeh: ERROR: Unable to run BokehJS code because BokehJS library is missing\");\n",
       "                        }\n",
       "                      }\n",
       "                    }, 10, root)\n",
       "                  }\n",
       "                })(window);\n",
       "              });\n",
       "            };\n",
       "            if (document.readyState != \"loading\") fn();\n",
       "            else document.addEventListener(\"DOMContentLoaded\", fn);\n",
       "          })();\n",
       "        </script>\n",
       "    \n",
       "  </body>\n",
       "  \n",
       "</html>"
      ],
      "text/plain": [
       "<dataprep.eda.report.Report at 0x1c250b2668>"
      ]
     },
     "execution_count": 2,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "plot(train_df)"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "The plot(df) shows the distribution of each column. For a categorical column, it shows the bar chart with blue color. For a numeric column, it shows the histgorm with gray color. Currently, the column type (i.e., categorical or numeric) is based on the column type in input dataframe. Hence, if some column types is wrongly identified, you could change its type on the dataframe. For example, by calling *df[col] = df[col].astype(\"object\")* you could identify *col* as a categorical column.\n",
    "\n",
    "From the output of plot(df), we know:\n",
    "1. **All Columns**: there are 1 label column *Survived* and 11 feature columns, which are *PassengerId, Pclass, Name, Sex, Age, SibSp, Parch, Ticket, Fare, Cabin, Embarked*. \n",
    "2. **Categorical Columns**: *Survived, PassengerId, Pclass, Name, Sex, Ticket, Embarked*.\n",
    "3. **Numeric Columns**: *Age, SibSp, Parch, Fare*.\n",
    "4. **Missing Values**: From the figure title, we can find there are 3 columns with missing values. I.e., *Age (19.9%), Cabin (77.1%), Embarked(0.2%)*.\n",
    "5. **Label Balance**: From the distribution of *Survived*, we are aware that the positive and negative training examples and not very balanced. There are 38% data with label *Survived = 1*.    "
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 3,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/html": [
       "\n",
       "\n",
       "\n",
       "\n",
       "<!DOCTYPE html>\n",
       "<html lang=\"en\">\n",
       "  \n",
       "  <head>\n",
       "    \n",
       "      <meta charset=\"utf-8\">\n",
       "      <title>Report</title>\n",
       "      \n",
       "      \n",
       "        \n",
       "          \n",
       "        \n",
       "        \n",
       "          \n",
       "        <script type=\"text/javascript\" src=\"https://cdn.pydata.org/bokeh/release/bokeh-1.4.0.min.js\"></script>\n",
       "        <script type=\"text/javascript\">\n",
       "            Bokeh.set_log_level(\"info\");\n",
       "        </script>\n",
       "        \n",
       "      \n",
       "      \n",
       "    \n",
       "  </head>\n",
       "  \n",
       "  \n",
       "  <body>\n",
       "    \n",
       "      \n",
       "        \n",
       "          \n",
       "          \n",
       "            \n",
       "              <div class=\"bk-root\" id=\"c84b2ece-61a6-48df-9058-8a773c48f126\" data-root-id=\"2803\"></div>\n",
       "            \n",
       "          \n",
       "        \n",
       "      \n",
       "      \n",
       "        <script type=\"application/json\" id=\"3668\">\n",
       "          {\"9e3757fe-7fe5-4e30-adfc-9a0262ccf0de\":{\"roots\":{\"references\":[{\"attributes\":{\"callback\":null,\"data\":{\"freq\":[608,209,28,16,0,18,5,0,0,7],\"index\":[0,1,2,3,4,5,6,7,8,9],\"intervals\":[\"[0.0,0.8)\",\"[0.8,1.6)\",\"[1.6,2.4)\",\"[2.4,3.2)\",\"[3.2,4.0)\",\"[4.0,4.8)\",\"[4.8,5.6)\",\"[5.6,6.4)\",\"[6.4,7.2)\",\"[7.2,8.0]\"],\"left\":{\"__ndarray__\":\"AAAAAAAAAACamZmZmZnpP5qZmZmZmfk/NDMzMzMzA0CamZmZmZkJQAAAAAAAABBANDMzMzMzE0BnZmZmZmYWQJqZmZmZmRlAzczMzMzMHEA=\",\"dtype\":\"float64\",\"shape\":[10]},\"pct\":{\"__ndarray__\":\"zXVSUzoPUUD5YZEy8HQ3QI3I8inqIwlAxgk6wlS7/D8AAAAAAAAAAH+lQK1fKQBAG0Zk+RT14T8AAAAAAAAAAAAAAAAAAAAAjcjyKeoj6T8=\",\"dtype\":\"float64\",\"shape\":[10]},\"right\":{\"__ndarray__\":\"mpmZmZmZ6T+amZmZmZn5PzQzMzMzMwNAmpmZmZmZCUAAAAAAAAAQQDQzMzMzMxNAZ2ZmZmZmFkCamZmZmZkZQM3MzMzMzBxAAAAAAAAAIEA=\",\"dtype\":\"float64\",\"shape\":[10]}},\"selected\":{\"id\":\"2765\",\"type\":\"Selection\"},\"selection_policy\":{\"id\":\"2766\",\"type\":\"UnionRenderers\"}},\"id\":\"2549\",\"type\":\"ColumnDataSource\"},{\"attributes\":{\"text\":\"SibSp\",\"text_font_size\":{\"value\":\"10pt\"}},\"id\":\"2528\",\"type\":\"Title\"},{\"attributes\":{\"callback\":null},\"id\":\"2530\",\"type\":\"DataRange1d\"},{\"attributes\":{\"ticks\":[0,20,40,60]},\"id\":\"2524\",\"type\":\"FixedTicker\"},{\"attributes\":{\"ticks\":[0,20,40,60]},\"id\":\"2525\",\"type\":\"FixedTicker\"},{\"attributes\":{\"callback\":null},\"id\":\"2532\",\"type\":\"DataRange1d\"},{\"attributes\":{},\"id\":\"2534\",\"type\":\"LinearScale\"},{\"attributes\":{},\"id\":\"2536\",\"type\":\"LinearScale\"},{\"attributes\":{\"formatter\":{\"id\":\"2762\",\"type\":\"BasicTickFormatter\"},\"major_label_orientation\":0,\"major_label_overrides\":{\"0\":\"0\",\"2\":\"2\",\"4\":\"4\",\"6\":\"6\"},\"major_label_standoff\":7,\"major_label_text_font_size\":{\"value\":\"10pt\"},\"major_tick_line_color\":{\"value\":null},\"minor_tick_line_color\":{\"value\":\"white\"},\"ticker\":{\"id\":\"2558\",\"type\":\"FixedTicker\"}},\"id\":\"2538\",\"type\":\"LinearAxis\"},{\"attributes\":{\"text\":\"Parch\",\"text_font_size\":{\"value\":\"10pt\"}},\"id\":\"2561\",\"type\":\"Title\"},{\"attributes\":{\"grid_line_color\":null,\"ticker\":{\"id\":\"2557\",\"type\":\"FixedTicker\"}},\"id\":\"2542\",\"type\":\"Grid\"},{\"attributes\":{\"axis_label\":\"Frequency\",\"formatter\":{\"id\":\"2763\",\"type\":\"BasicTickFormatter\"},\"major_label_text_font_size\":{\"value\":\"0pt\"},\"major_tick_line_color\":{\"value\":null},\"minor_tick_line_color\":{\"value\":\"white\"},\"ticker\":{\"id\":\"2544\",\"type\":\"BasicTicker\"}},\"id\":\"2543\",\"type\":\"LinearAxis\"},{\"attributes\":{},\"id\":\"2544\",\"type\":\"BasicTicker\"},{\"attributes\":{\"dimension\":1,\"grid_line_color\":null,\"ticker\":{\"id\":\"2544\",\"type\":\"BasicTicker\"}},\"id\":\"2547\",\"type\":\"Grid\"},{\"attributes\":{\"active_drag\":\"auto\",\"active_inspect\":\"auto\",\"active_multi\":null,\"active_scroll\":\"auto\",\"active_tap\":\"auto\",\"tools\":[{\"id\":\"2555\",\"type\":\"HoverTool\"}]},\"id\":\"2548\",\"type\":\"Toolbar\"},{\"attributes\":{\"active_drag\":\"auto\",\"active_inspect\":\"auto\",\"active_multi\":null,\"active_scroll\":\"auto\",\"active_tap\":\"auto\",\"tools\":[{\"id\":\"2588\",\"type\":\"HoverTool\"}]},\"id\":\"2581\",\"type\":\"Toolbar\"},{\"attributes\":{\"data_source\":{\"id\":\"2549\",\"type\":\"ColumnDataSource\"},\"glyph\":{\"id\":\"2551\",\"type\":\"Quad\"},\"hover_glyph\":null,\"muted_glyph\":null,\"nonselection_glyph\":{\"id\":\"2552\",\"type\":\"Quad\"},\"selection_glyph\":null,\"view\":{\"id\":\"2554\",\"type\":\"CDSView\"}},\"id\":\"2553\",\"type\":\"GlyphRenderer\"},{\"attributes\":{\"bottom\":{\"value\":0},\"fill_alpha\":{\"value\":0.5},\"fill_color\":{\"value\":\"#6baed6\"},\"left\":{\"field\":\"left\"},\"line_alpha\":{\"value\":0.5},\"line_color\":{\"value\":\"#1f77b4\"},\"right\":{\"field\":\"right\"},\"top\":{\"field\":\"freq\"}},\"id\":\"2551\",\"type\":\"Quad\"},{\"attributes\":{\"callback\":null,\"mode\":\"vline\",\"tooltips\":[[\"Bin\",\"@intervals\"],[\"Frequency\",\"@freq\"],[\"Percent\",\"@pct{0.2f}%\"]]},\"id\":\"2555\",\"type\":\"HoverTool\"},{\"attributes\":{\"source\":{\"id\":\"2549\",\"type\":\"ColumnDataSource\"}},\"id\":\"2554\",\"type\":\"CDSView\"},{\"attributes\":{\"bottom\":{\"value\":0},\"fill_alpha\":{\"value\":0.1},\"fill_color\":{\"value\":\"#1f77b4\"},\"left\":{\"field\":\"left\"},\"line_alpha\":{\"value\":0.1},\"line_color\":{\"value\":\"#1f77b4\"},\"right\":{\"field\":\"right\"},\"top\":{\"field\":\"freq\"}},\"id\":\"2552\",\"type\":\"Quad\"},{\"attributes\":{\"below\":[{\"id\":\"2571\",\"type\":\"LinearAxis\"}],\"center\":[{\"id\":\"2575\",\"type\":\"Grid\"},{\"id\":\"2580\",\"type\":\"Grid\"}],\"left\":[{\"id\":\"2576\",\"type\":\"LinearAxis\"}],\"plot_height\":300,\"plot_width\":324,\"renderers\":[{\"id\":\"2586\",\"type\":\"GlyphRenderer\"}],\"title\":{\"id\":\"2561\",\"type\":\"Title\"},\"toolbar\":{\"id\":\"2581\",\"type\":\"Toolbar\"},\"toolbar_location\":null,\"x_range\":{\"id\":\"2563\",\"type\":\"DataRange1d\"},\"x_scale\":{\"id\":\"2567\",\"type\":\"LinearScale\"},\"y_range\":{\"id\":\"2565\",\"type\":\"DataRange1d\"},\"y_scale\":{\"id\":\"2569\",\"type\":\"LinearScale\"}},\"id\":\"2560\",\"subtype\":\"Figure\",\"type\":\"Plot\"},{\"attributes\":{\"callback\":null,\"data\":{\"freq\":[678,118,0,80,0,5,4,0,5,1],\"index\":[0,1,2,3,4,5,6,7,8,9],\"intervals\":[\"[0.0,0.6)\",\"[0.6,1.2)\",\"[1.2,1.8)\",\"[1.8,2.4)\",\"[2.4,3.0)\",\"[3.0,3.6)\",\"[3.6,4.2)\",\"[4.2,4.8)\",\"[4.8,5.4)\",\"[5.4,6.0]\"],\"left\":{\"__ndarray__\":\"AAAAAAAAAAAzMzMzMzPjPzMzMzMzM/M/zMzMzMzM/D8zMzMzMzMDQAAAAAAAAAhAzMzMzMzMDEDNzMzMzMwQQDMzMzMzMxNAmZmZmZmZFUA=\",\"dtype\":\"float64\",\"shape\":[10]},\"pct\":{\"__ndarray__\":\"eG2ZnggGU0ACgQ0jsnwqQAAAAAAAAAAAG0Zk+RT1IUAAAAAAAAAAABtGZPkU9eE/xgk6wlS73D8AAAAAAAAAABtGZPkU9eE/xgk6wlS7vD8=\",\"dtype\":\"float64\",\"shape\":[10]},\"right\":{\"__ndarray__\":\"MzMzMzMz4z8zMzMzMzPzP8zMzMzMzPw/MzMzMzMzA0AAAAAAAAAIQMzMzMzMzAxAzczMzMzMEEAzMzMzMzMTQJmZmZmZmRVAAAAAAAAAGEA=\",\"dtype\":\"float64\",\"shape\":[10]}},\"selected\":{\"id\":\"2772\",\"type\":\"Selection\"},\"selection_policy\":{\"id\":\"2773\",\"type\":\"UnionRenderers\"}},\"id\":\"2582\",\"type\":\"ColumnDataSource\"},{\"attributes\":{\"callback\":null},\"id\":\"2563\",\"type\":\"DataRange1d\"},{\"attributes\":{\"ticks\":[0,2,4,6]},\"id\":\"2557\",\"type\":\"FixedTicker\"},{\"attributes\":{\"ticks\":[0,2,4,6]},\"id\":\"2558\",\"type\":\"FixedTicker\"},{\"attributes\":{\"callback\":null},\"id\":\"2565\",\"type\":\"DataRange1d\"},{\"attributes\":{},\"id\":\"2567\",\"type\":\"LinearScale\"},{\"attributes\":{},\"id\":\"2569\",\"type\":\"LinearScale\"},{\"attributes\":{\"formatter\":{\"id\":\"2769\",\"type\":\"BasicTickFormatter\"},\"major_label_orientation\":0,\"major_label_overrides\":{\"0\":\"0\",\"1\":\"1\",\"2\":\"2\",\"3\":\"3\",\"4\":\"4\",\"5\":\"5\"},\"major_label_standoff\":7,\"major_label_text_font_size\":{\"value\":\"10pt\"},\"major_tick_line_color\":{\"value\":null},\"minor_tick_line_color\":{\"value\":\"white\"},\"ticker\":{\"id\":\"2591\",\"type\":\"FixedTicker\"}},\"id\":\"2571\",\"type\":\"LinearAxis\"},{\"attributes\":{\"below\":[{\"id\":\"2635\",\"type\":\"LinearAxis\"}],\"center\":[{\"id\":\"2639\",\"type\":\"Grid\"},{\"id\":\"2644\",\"type\":\"Grid\"}],\"left\":[{\"id\":\"2640\",\"type\":\"LinearAxis\"}],\"plot_height\":300,\"plot_width\":324,\"renderers\":[{\"id\":\"2650\",\"type\":\"GlyphRenderer\"}],\"title\":{\"id\":\"2625\",\"type\":\"Title\"},\"toolbar\":{\"id\":\"2645\",\"type\":\"Toolbar\"},\"toolbar_location\":null,\"x_range\":{\"id\":\"2627\",\"type\":\"DataRange1d\"},\"x_scale\":{\"id\":\"2631\",\"type\":\"LinearScale\"},\"y_range\":{\"id\":\"2629\",\"type\":\"DataRange1d\"},\"y_scale\":{\"id\":\"2633\",\"type\":\"LinearScale\"}},\"id\":\"2624\",\"subtype\":\"Figure\",\"type\":\"Plot\"},{\"attributes\":{\"grid_line_color\":null,\"ticker\":{\"id\":\"2590\",\"type\":\"FixedTicker\"}},\"id\":\"2575\",\"type\":\"Grid\"},{\"attributes\":{\"source\":{\"id\":\"2582\",\"type\":\"ColumnDataSource\"}},\"id\":\"2587\",\"type\":\"CDSView\"},{\"attributes\":{\"bottom\":{\"value\":0.01},\"fill_alpha\":{\"value\":0.1},\"fill_color\":{\"value\":\"#1f77b4\"},\"line_alpha\":{\"value\":0.1},\"line_color\":{\"value\":\"#1f77b4\"},\"top\":{\"field\":\"cnt\"},\"width\":{\"value\":0.9},\"x\":{\"field\":\"col\"}},\"id\":\"2683\",\"type\":\"VBar\"},{\"attributes\":{\"bottom\":{\"value\":0.01},\"fill_color\":{\"value\":\"#1f77b4\"},\"line_color\":{\"value\":\"#1f77b4\"},\"top\":{\"field\":\"cnt\"},\"width\":{\"value\":0.9},\"x\":{\"field\":\"col\"}},\"id\":\"2682\",\"type\":\"VBar\"},{\"attributes\":{\"active_drag\":\"auto\",\"active_inspect\":\"auto\",\"active_multi\":null,\"active_scroll\":\"auto\",\"active_tap\":\"auto\",\"tools\":[{\"id\":\"2421\",\"type\":\"HoverTool\"}]},\"id\":\"2422\",\"type\":\"Toolbar\"},{\"attributes\":{\"callback\":null},\"id\":\"2342\",\"type\":\"DataRange1d\"},{\"attributes\":{},\"id\":\"2441\",\"type\":\"LinearScale\"},{\"attributes\":{\"data_source\":{\"id\":\"2424\",\"type\":\"ColumnDataSource\"},\"glyph\":{\"id\":\"2426\",\"type\":\"VBar\"},\"hover_glyph\":null,\"muted_glyph\":null,\"nonselection_glyph\":{\"id\":\"2427\",\"type\":\"VBar\"},\"selection_glyph\":null,\"view\":{\"id\":\"2429\",\"type\":\"CDSView\"}},\"id\":\"2428\",\"type\":\"GlyphRenderer\"},{\"attributes\":{\"data_source\":{\"id\":\"2680\",\"type\":\"ColumnDataSource\"},\"glyph\":{\"id\":\"2682\",\"type\":\"VBar\"},\"hover_glyph\":null,\"muted_glyph\":null,\"nonselection_glyph\":{\"id\":\"2683\",\"type\":\"VBar\"},\"selection_glyph\":null,\"view\":{\"id\":\"2685\",\"type\":\"CDSView\"}},\"id\":\"2684\",\"type\":\"GlyphRenderer\"},{\"attributes\":{},\"id\":\"2700\",\"type\":\"CategoricalTicker\"},{\"attributes\":{\"callback\":null,\"factors\":[\"3\",\"1\",\"2\"]},\"id\":\"2404\",\"type\":\"FactorRange\"},{\"attributes\":{\"axis_label\":\"Count\",\"formatter\":{\"id\":\"2742\",\"type\":\"BasicTickFormatter\"},\"major_label_text_font_size\":{\"value\":\"0pt\"},\"major_tick_line_color\":{\"value\":null},\"minor_tick_line_color\":{\"value\":\"white\"},\"ticker\":{\"id\":\"2448\",\"type\":\"BasicTicker\"}},\"id\":\"2447\",\"type\":\"LinearAxis\"},{\"attributes\":{\"callback\":null},\"id\":\"2406\",\"type\":\"DataRange1d\"},{\"attributes\":{\"source\":{\"id\":\"2680\",\"type\":\"ColumnDataSource\"}},\"id\":\"2685\",\"type\":\"CDSView\"},{\"attributes\":{\"code\":\"\\n            if (tick.length &gt; 15) return tick.substring(0, 15-2) + '...';\\n            else return tick;\\n        \"},\"id\":\"2686\",\"type\":\"FuncTickFormatter\"},{\"attributes\":{\"below\":[{\"id\":\"2699\",\"type\":\"CategoricalAxis\"}],\"center\":[{\"id\":\"2702\",\"type\":\"Grid\"},{\"id\":\"2707\",\"type\":\"Grid\"}],\"left\":[{\"id\":\"2703\",\"type\":\"LinearAxis\"}],\"plot_height\":300,\"plot_width\":324,\"renderers\":[{\"id\":\"2715\",\"type\":\"GlyphRenderer\"}],\"title\":{\"id\":\"2689\",\"type\":\"Title\"},\"toolbar\":{\"id\":\"2709\",\"type\":\"Toolbar\"},\"toolbar_location\":null,\"x_range\":{\"id\":\"2691\",\"type\":\"FactorRange\"},\"x_scale\":{\"id\":\"2695\",\"type\":\"CategoricalScale\"},\"y_range\":{\"id\":\"2693\",\"type\":\"DataRange1d\"},\"y_scale\":{\"id\":\"2697\",\"type\":\"LinearScale\"}},\"id\":\"2688\",\"subtype\":\"Figure\",\"type\":\"Plot\"},{\"attributes\":{\"callback\":null},\"id\":\"2340\",\"type\":\"DataRange1d\"},{\"attributes\":{},\"id\":\"2408\",\"type\":\"CategoricalScale\"},{\"attributes\":{},\"id\":\"2720\",\"type\":\"BasicTickFormatter\"},{\"attributes\":{\"text\":\"PassengerId\",\"text_font_size\":{\"value\":\"10pt\"}},\"id\":\"2338\",\"type\":\"Title\"},{\"attributes\":{},\"id\":\"2439\",\"type\":\"CategoricalScale\"},{\"attributes\":{},\"id\":\"2410\",\"type\":\"LinearScale\"},{\"attributes\":{\"callback\":null,\"data\":{\"cnt\":[644,168,77],\"col\":[\"S\",\"C\",\"Q\"],\"index\":[0,1,2],\"pct\":{\"__ndarray__\":\"JYAmTtARUkBpFnaf79oyQODp1vywSCFA\",\"dtype\":\"float64\",\"shape\":[3]}},\"selected\":{\"id\":\"2800\",\"type\":\"Selection\"},\"selection_policy\":{\"id\":\"2801\",\"type\":\"UnionRenderers\"}},\"id\":\"2711\",\"type\":\"ColumnDataSource\"},{\"attributes\":{},\"id\":\"2697\",\"type\":\"LinearScale\"},{\"attributes\":{\"source\":{\"id\":\"2424\",\"type\":\"ColumnDataSource\"}},\"id\":\"2429\",\"type\":\"CDSView\"},{\"attributes\":{\"formatter\":{\"id\":\"2717\",\"type\":\"FuncTickFormatter\"},\"major_label_orientation\":1.0471975511965976,\"major_label_text_font_size\":{\"value\":\"9pt\"},\"minor_tick_line_color\":{\"value\":\"white\"},\"ticker\":{\"id\":\"2700\",\"type\":\"CategoricalTicker\"}},\"id\":\"2699\",\"type\":\"CategoricalAxis\"},{\"attributes\":{\"bottom\":{\"value\":0.01},\"fill_color\":{\"value\":\"#1f77b4\"},\"line_color\":{\"value\":\"#1f77b4\"},\"top\":{\"field\":\"cnt\"},\"width\":{\"value\":0.9},\"x\":{\"field\":\"col\"}},\"id\":\"2426\",\"type\":\"VBar\"},{\"attributes\":{},\"id\":\"2444\",\"type\":\"CategoricalTicker\"},{\"attributes\":{\"grid_line_color\":null,\"ticker\":{\"id\":\"2700\",\"type\":\"CategoricalTicker\"}},\"id\":\"2702\",\"type\":\"Grid\"},{\"attributes\":{\"formatter\":{\"id\":\"2430\",\"type\":\"FuncTickFormatter\"},\"major_label_orientation\":1.0471975511965976,\"major_label_text_font_size\":{\"value\":\"9pt\"},\"minor_tick_line_color\":{\"value\":\"white\"},\"ticker\":{\"id\":\"2413\",\"type\":\"CategoricalTicker\"}},\"id\":\"2412\",\"type\":\"CategoricalAxis\"},{\"attributes\":{\"axis_label\":\"Count\",\"formatter\":{\"id\":\"2798\",\"type\":\"BasicTickFormatter\"},\"major_label_text_font_size\":{\"value\":\"0pt\"},\"major_tick_line_color\":{\"value\":null},\"minor_tick_line_color\":{\"value\":\"white\"},\"ticker\":{\"id\":\"2704\",\"type\":\"BasicTicker\"}},\"id\":\"2703\",\"type\":\"LinearAxis\"},{\"attributes\":{\"bottom\":{\"value\":0.01},\"fill_alpha\":{\"value\":0.1},\"fill_color\":{\"value\":\"#1f77b4\"},\"line_alpha\":{\"value\":0.1},\"line_color\":{\"value\":\"#1f77b4\"},\"top\":{\"field\":\"cnt\"},\"width\":{\"value\":0.9},\"x\":{\"field\":\"col\"}},\"id\":\"2427\",\"type\":\"VBar\"},{\"attributes\":{},\"id\":\"2704\",\"type\":\"BasicTicker\"},{\"attributes\":{\"callback\":null,\"factors\":[\"Abbing, Mr. Anthony\",\"Abbott, Mr. Rossmore Edward\",\"Abbott, Mrs. Stanton (Rosa Hunt)\",\"Abelson, Mr. Samuel\",\"Abelson, Mrs. Samuel (Hannah Wizosky)\",\"Adahl, Mr. Mauritz Nils Martin\",\"Adams, Mr. John\",\"Ahlin, Mrs. Johan (Johanna Persdotter Larsson)\",\"Aks, Mrs. Sam (Leah Rosen)\",\"Albimona, Mr. Nassef Cassem\"]},\"id\":\"2435\",\"type\":\"FactorRange\"},{\"attributes\":{},\"id\":\"2413\",\"type\":\"CategoricalTicker\"},{\"attributes\":{\"data_source\":{\"id\":\"2455\",\"type\":\"ColumnDataSource\"},\"glyph\":{\"id\":\"2457\",\"type\":\"VBar\"},\"hover_glyph\":null,\"muted_glyph\":null,\"nonselection_glyph\":{\"id\":\"2458\",\"type\":\"VBar\"},\"selection_glyph\":null,\"view\":{\"id\":\"2460\",\"type\":\"CDSView\"}},\"id\":\"2459\",\"type\":\"GlyphRenderer\"},{\"attributes\":{\"dimension\":1,\"grid_line_color\":null,\"ticker\":{\"id\":\"2704\",\"type\":\"BasicTicker\"}},\"id\":\"2707\",\"type\":\"Grid\"},{\"attributes\":{\"grid_line_color\":null,\"ticker\":{\"id\":\"2413\",\"type\":\"CategoricalTicker\"}},\"id\":\"2415\",\"type\":\"Grid\"},{\"attributes\":{\"code\":\"\\n            if (tick.length &gt; 15) return tick.substring(0, 15-2) + '...';\\n            else return tick;\\n        \"},\"id\":\"2430\",\"type\":\"FuncTickFormatter\"},{\"attributes\":{\"active_drag\":\"auto\",\"active_inspect\":\"auto\",\"active_multi\":null,\"active_scroll\":\"auto\",\"active_tap\":\"auto\",\"tools\":[{\"id\":\"2708\",\"type\":\"HoverTool\"}]},\"id\":\"2709\",\"type\":\"Toolbar\"},{\"attributes\":{\"callback\":null,\"tooltips\":[[\"Embarked\",\"@col\"],[\"Count\",\"@cnt\"],[\"Percent\",\"@pct{0.2f}%\"]]},\"id\":\"2708\",\"type\":\"HoverTool\"},{\"attributes\":{\"axis_label\":\"Count\",\"formatter\":{\"id\":\"2735\",\"type\":\"BasicTickFormatter\"},\"major_label_text_font_size\":{\"value\":\"0pt\"},\"major_tick_line_color\":{\"value\":null},\"minor_tick_line_color\":{\"value\":\"white\"},\"ticker\":{\"id\":\"2417\",\"type\":\"BasicTicker\"}},\"id\":\"2416\",\"type\":\"LinearAxis\"},{\"attributes\":{},\"id\":\"2417\",\"type\":\"BasicTicker\"},{\"attributes\":{},\"id\":\"2745\",\"type\":\"UnionRenderers\"},{\"attributes\":{\"bottom\":{\"value\":0.01},\"fill_alpha\":{\"value\":0.1},\"fill_color\":{\"value\":\"#1f77b4\"},\"line_alpha\":{\"value\":0.1},\"line_color\":{\"value\":\"#1f77b4\"},\"top\":{\"field\":\"cnt\"},\"width\":{\"value\":0.9},\"x\":{\"field\":\"col\"}},\"id\":\"2714\",\"type\":\"VBar\"},{\"attributes\":{\"bottom\":{\"value\":0.01},\"fill_color\":{\"value\":\"#1f77b4\"},\"line_color\":{\"value\":\"#1f77b4\"},\"top\":{\"field\":\"cnt\"},\"width\":{\"value\":0.9},\"x\":{\"field\":\"col\"}},\"id\":\"2713\",\"type\":\"VBar\"},{\"attributes\":{\"grid_line_color\":null,\"ticker\":{\"id\":\"2444\",\"type\":\"CategoricalTicker\"}},\"id\":\"2446\",\"type\":\"Grid\"},{\"attributes\":{\"data_source\":{\"id\":\"2711\",\"type\":\"ColumnDataSource\"},\"glyph\":{\"id\":\"2713\",\"type\":\"VBar\"},\"hover_glyph\":null,\"muted_glyph\":null,\"nonselection_glyph\":{\"id\":\"2714\",\"type\":\"VBar\"},\"selection_glyph\":null,\"view\":{\"id\":\"2716\",\"type\":\"CDSView\"}},\"id\":\"2715\",\"type\":\"GlyphRenderer\"},{\"attributes\":{\"dimension\":1,\"grid_line_color\":null,\"ticker\":{\"id\":\"2417\",\"type\":\"BasicTicker\"}},\"id\":\"2420\",\"type\":\"Grid\"},{\"attributes\":{\"source\":{\"id\":\"2711\",\"type\":\"ColumnDataSource\"}},\"id\":\"2716\",\"type\":\"CDSView\"},{\"attributes\":{\"code\":\"\\n            if (tick.length &gt; 15) return tick.substring(0, 15-2) + '...';\\n            else return tick;\\n        \"},\"id\":\"2717\",\"type\":\"FuncTickFormatter\"},{\"attributes\":{\"axis_label\":\"Top 10 of 891 Name\",\"axis_label_standoff\":0,\"formatter\":{\"id\":\"2461\",\"type\":\"FuncTickFormatter\"},\"major_label_orientation\":1.0471975511965976,\"major_label_text_font_size\":{\"value\":\"9pt\"},\"minor_tick_line_color\":{\"value\":\"white\"},\"ticker\":{\"id\":\"2444\",\"type\":\"CategoricalTicker\"}},\"id\":\"2443\",\"type\":\"CategoricalAxis\"},{\"attributes\":{\"callback\":null},\"id\":\"2437\",\"type\":\"DataRange1d\"},{\"attributes\":{},\"id\":\"2721\",\"type\":\"BasicTickFormatter\"},{\"attributes\":{\"callback\":null,\"data\":{\"cnt\":[491,216,184],\"col\":[\"3\",\"1\",\"2\"],\"index\":[0,1,2],\"pct\":{\"__ndarray__\":\"X6hCyKWNS0A++OCDDz44QAa3meukpjRA\",\"dtype\":\"float64\",\"shape\":[3]}},\"selected\":{\"id\":\"2737\",\"type\":\"Selection\"},\"selection_policy\":{\"id\":\"2738\",\"type\":\"UnionRenderers\"}},\"id\":\"2424\",\"type\":\"ColumnDataSource\"},{\"attributes\":{},\"id\":\"2448\",\"type\":\"BasicTicker\"},{\"attributes\":{},\"id\":\"2723\",\"type\":\"Selection\"},{\"attributes\":{\"callback\":null,\"data\":{\"freq\":[54,46,177,169,118,70,45,24,9,2],\"index\":[0,1,2,3,4,5,6,7,8,9],\"intervals\":[\"[0.42,8.378)\",\"[8.378,16.336)\",\"[16.336,24.294)\",\"[24.294,32.252)\",\"[32.252,40.21)\",\"[40.21,48.168)\",\"[48.168,56.126)\",\"[56.126,64.084)\",\"[64.084,72.042)\",\"[72.042,80.0]\"],\"left\":{\"__ndarray__\":\"4XoUrkfh2j+oxks3icEgQL10kxgEVjBAJgaBlUNLOEDHSzeJQSBAQHsUrkfhGkRAMN0kBoEVSEDkpZvEIBBMQEw3iUFgBVBAppvEILACUkA=\",\"dtype\":\"float64\",\"shape\":[10]},\"pct\":{\"__ndarray__\":\"Pvjggw8+GEAGt5nrpKYUQMEgSpqF3TNAc1A49Kr3MkACgQ0jsnwqQLB6b7TkbB9A3s6QmLczFEBTh6uRf4wFQH+lQK1fKfA/xgk6wlS7zD8=\",\"dtype\":\"float64\",\"shape\":[10]},\"right\":{\"__ndarray__\":\"qMZLN4nBIEC9dJMYBFYwQCYGgZVDSzhAx0s3iUEgQEB7FK5H4RpEQDDdJAaBFUhA5KWbxCAQTEBMN4lBYAVQQKabxCCwAlJAAAAAAAAAVEA=\",\"dtype\":\"float64\",\"shape\":[10]}},\"selected\":{\"id\":\"2758\",\"type\":\"Selection\"},\"selection_policy\":{\"id\":\"2759\",\"type\":\"UnionRenderers\"}},\"id\":\"2516\",\"type\":\"ColumnDataSource\"},{\"attributes\":{\"dimension\":1,\"grid_line_color\":null,\"ticker\":{\"id\":\"2448\",\"type\":\"BasicTicker\"}},\"id\":\"2451\",\"type\":\"Grid\"},{\"attributes\":{},\"id\":\"2724\",\"type\":\"UnionRenderers\"},{\"attributes\":{\"below\":[{\"id\":\"2443\",\"type\":\"CategoricalAxis\"}],\"center\":[{\"id\":\"2446\",\"type\":\"Grid\"},{\"id\":\"2451\",\"type\":\"Grid\"}],\"left\":[{\"id\":\"2447\",\"type\":\"LinearAxis\"}],\"plot_height\":300,\"plot_width\":324,\"renderers\":[{\"id\":\"2459\",\"type\":\"GlyphRenderer\"}],\"title\":{\"id\":\"2433\",\"type\":\"Title\"},\"toolbar\":{\"id\":\"2453\",\"type\":\"Toolbar\"},\"toolbar_location\":null,\"x_range\":{\"id\":\"2435\",\"type\":\"FactorRange\"},\"x_scale\":{\"id\":\"2439\",\"type\":\"CategoricalScale\"},\"y_range\":{\"id\":\"2437\",\"type\":\"DataRange1d\"},\"y_scale\":{\"id\":\"2441\",\"type\":\"LinearScale\"}},\"id\":\"2432\",\"subtype\":\"Figure\",\"type\":\"Plot\"},{\"attributes\":{},\"id\":\"2728\",\"type\":\"BasicTickFormatter\"},{\"attributes\":{\"bottom\":{\"value\":0.01},\"fill_alpha\":{\"value\":0.1},\"fill_color\":{\"value\":\"#1f77b4\"},\"line_alpha\":{\"value\":0.1},\"line_color\":{\"value\":\"#1f77b4\"},\"top\":{\"field\":\"cnt\"},\"width\":{\"value\":0.9},\"x\":{\"field\":\"col\"}},\"id\":\"2458\",\"type\":\"VBar\"},{\"attributes\":{},\"id\":\"2730\",\"type\":\"Selection\"},{\"attributes\":{\"callback\":null,\"tooltips\":[[\"Name\",\"@col\"],[\"Count\",\"@cnt\"],[\"Percent\",\"@pct{0.2f}%\"]]},\"id\":\"2452\",\"type\":\"HoverTool\"},{\"attributes\":{},\"id\":\"2731\",\"type\":\"UnionRenderers\"},{\"attributes\":{\"callback\":null,\"data\":{\"freq\":[89,89,89,89,89,89,89,89,89,90],\"index\":[0,1,2,3,4,5,6,7,8,9],\"intervals\":[\"[1.0,90.0)\",\"[90.0,179.0)\",\"[179.0,268.0)\",\"[268.0,357.0)\",\"[357.0,446.0)\",\"[446.0,535.0)\",\"[535.0,624.0)\",\"[624.0,713.0)\",\"[713.0,802.0)\",\"[802.0,891.0]\"],\"left\":{\"__ndarray__\":\"AAAAAAAA8D8AAAAAAIBWQAAAAAAAYGZAAAAAAADAcEAAAAAAAFB2QAAAAAAA4HtAAAAAAAC4gEAAAAAAAICDQAAAAAAASIZAAAAAAAAQiUA=\",\"dtype\":\"float64\",\"shape\":[10]},\"pct\":{\"__ndarray__\":\"y1oM70D6I0DLWgzvQPojQMtaDO9A+iNAy1oM70D6I0DLWgzvQPojQMtaDO9A+iNAy1oM70D6I0DLWgzvQPojQMtaDO9A+iNA3s6QmLczJEA=\",\"dtype\":\"float64\",\"shape\":[10]},\"right\":{\"__ndarray__\":\"AAAAAACAVkAAAAAAAGBmQAAAAAAAwHBAAAAAAABQdkAAAAAAAOB7QAAAAAAAuIBAAAAAAACAg0AAAAAAAEiGQAAAAAAAEIlAAAAAAADYi0A=\",\"dtype\":\"float64\",\"shape\":[10]}},\"selected\":{\"id\":\"2723\",\"type\":\"Selection\"},\"selection_policy\":{\"id\":\"2724\",\"type\":\"UnionRenderers\"}},\"id\":\"2359\",\"type\":\"ColumnDataSource\"},{\"attributes\":{\"callback\":null,\"tooltips\":[[\"Pclass\",\"@col\"],[\"Count\",\"@cnt\"],[\"Percent\",\"@pct{0.2f}%\"]]},\"id\":\"2421\",\"type\":\"HoverTool\"},{\"attributes\":{\"bottom\":{\"value\":0.01},\"fill_color\":{\"value\":\"#1f77b4\"},\"line_color\":{\"value\":\"#1f77b4\"},\"top\":{\"field\":\"cnt\"},\"width\":{\"value\":0.9},\"x\":{\"field\":\"col\"}},\"id\":\"2457\",\"type\":\"VBar\"},{\"attributes\":{\"code\":\"\\n            if (tick.length &gt; 15) return tick.substring(0, 15-2) + '...';\\n            else return tick;\\n        \"},\"id\":\"2399\",\"type\":\"FuncTickFormatter\"},{\"attributes\":{},\"id\":\"2735\",\"type\":\"BasicTickFormatter\"},{\"attributes\":{},\"id\":\"2737\",\"type\":\"Selection\"},{\"attributes\":{\"source\":{\"id\":\"2455\",\"type\":\"ColumnDataSource\"}},\"id\":\"2460\",\"type\":\"CDSView\"},{\"attributes\":{},\"id\":\"2738\",\"type\":\"UnionRenderers\"},{\"attributes\":{\"below\":[{\"id\":\"2412\",\"type\":\"CategoricalAxis\"}],\"center\":[{\"id\":\"2415\",\"type\":\"Grid\"},{\"id\":\"2420\",\"type\":\"Grid\"}],\"left\":[{\"id\":\"2416\",\"type\":\"LinearAxis\"}],\"plot_height\":300,\"plot_width\":324,\"renderers\":[{\"id\":\"2428\",\"type\":\"GlyphRenderer\"}],\"title\":{\"id\":\"2402\",\"type\":\"Title\"},\"toolbar\":{\"id\":\"2422\",\"type\":\"Toolbar\"},\"toolbar_location\":null,\"x_range\":{\"id\":\"2404\",\"type\":\"FactorRange\"},\"x_scale\":{\"id\":\"2408\",\"type\":\"CategoricalScale\"},\"y_range\":{\"id\":\"2406\",\"type\":\"DataRange1d\"},\"y_scale\":{\"id\":\"2410\",\"type\":\"LinearScale\"}},\"id\":\"2401\",\"subtype\":\"Figure\",\"type\":\"Plot\"},{\"attributes\":{\"code\":\"\\n            if (tick.length &gt; 15) return tick.substring(0, 15-2) + '...';\\n            else return tick;\\n        \"},\"id\":\"2461\",\"type\":\"FuncTickFormatter\"},{\"attributes\":{},\"id\":\"2742\",\"type\":\"BasicTickFormatter\"},{\"attributes\":{\"below\":[{\"id\":\"2474\",\"type\":\"CategoricalAxis\"}],\"center\":[{\"id\":\"2477\",\"type\":\"Grid\"},{\"id\":\"2482\",\"type\":\"Grid\"}],\"left\":[{\"id\":\"2478\",\"type\":\"LinearAxis\"}],\"plot_height\":300,\"plot_width\":324,\"renderers\":[{\"id\":\"2490\",\"type\":\"GlyphRenderer\"}],\"title\":{\"id\":\"2464\",\"type\":\"Title\"},\"toolbar\":{\"id\":\"2484\",\"type\":\"Toolbar\"},\"toolbar_location\":null,\"x_range\":{\"id\":\"2466\",\"type\":\"FactorRange\"},\"x_scale\":{\"id\":\"2470\",\"type\":\"CategoricalScale\"},\"y_range\":{\"id\":\"2468\",\"type\":\"DataRange1d\"},\"y_scale\":{\"id\":\"2472\",\"type\":\"LinearScale\"}},\"id\":\"2463\",\"subtype\":\"Figure\",\"type\":\"Plot\"},{\"attributes\":{},\"id\":\"2744\",\"type\":\"Selection\"},{\"attributes\":{\"callback\":null,\"data\":{\"cnt\":[577,314],\"col\":[\"male\",\"female\"],\"index\":[0,1],\"pct\":{\"__ndarray__\":\"AjRxgo4wUED+lx374p5BQA==\",\"dtype\":\"float64\",\"shape\":[2]}},\"selected\":{\"id\":\"2751\",\"type\":\"Selection\"},\"selection_policy\":{\"id\":\"2752\",\"type\":\"UnionRenderers\"}},\"id\":\"2486\",\"type\":\"ColumnDataSource\"},{\"attributes\":{},\"id\":\"2749\",\"type\":\"BasicTickFormatter\"},{\"attributes\":{\"text\":\"Sex\",\"text_font_size\":{\"value\":\"10pt\"}},\"id\":\"2464\",\"type\":\"Title\"},{\"attributes\":{},\"id\":\"2751\",\"type\":\"Selection\"},{\"attributes\":{\"callback\":null,\"factors\":[\"male\",\"female\"]},\"id\":\"2466\",\"type\":\"FactorRange\"},{\"attributes\":{\"axis_label\":\"Frequency\",\"formatter\":{\"id\":\"2770\",\"type\":\"BasicTickFormatter\"},\"major_label_text_font_size\":{\"value\":\"0pt\"},\"major_tick_line_color\":{\"value\":null},\"minor_tick_line_color\":{\"value\":\"white\"},\"ticker\":{\"id\":\"2577\",\"type\":\"BasicTicker\"}},\"id\":\"2576\",\"type\":\"LinearAxis\"},{\"attributes\":{\"below\":[{\"id\":\"2348\",\"type\":\"LinearAxis\"}],\"center\":[{\"id\":\"2352\",\"type\":\"Grid\"},{\"id\":\"2357\",\"type\":\"Grid\"}],\"left\":[{\"id\":\"2353\",\"type\":\"LinearAxis\"}],\"plot_height\":300,\"plot_width\":324,\"renderers\":[{\"id\":\"2363\",\"type\":\"GlyphRenderer\"}],\"title\":{\"id\":\"2338\",\"type\":\"Title\"},\"toolbar\":{\"id\":\"2358\",\"type\":\"Toolbar\"},\"toolbar_location\":null,\"x_range\":{\"id\":\"2340\",\"type\":\"DataRange1d\"},\"x_scale\":{\"id\":\"2344\",\"type\":\"LinearScale\"},\"y_range\":{\"id\":\"2342\",\"type\":\"DataRange1d\"},\"y_scale\":{\"id\":\"2346\",\"type\":\"LinearScale\"}},\"id\":\"2337\",\"subtype\":\"Figure\",\"type\":\"Plot\"},{\"attributes\":{},\"id\":\"2577\",\"type\":\"BasicTicker\"},{\"attributes\":{\"dimension\":1,\"grid_line_color\":null,\"ticker\":{\"id\":\"2577\",\"type\":\"BasicTicker\"}},\"id\":\"2580\",\"type\":\"Grid\"},{\"attributes\":{\"callback\":null,\"mode\":\"vline\",\"tooltips\":[[\"Bin\",\"@intervals\"],[\"Frequency\",\"@freq\"],[\"Percent\",\"@pct{0.2f}%\"]]},\"id\":\"2588\",\"type\":\"HoverTool\"},{\"attributes\":{\"data_source\":{\"id\":\"2582\",\"type\":\"ColumnDataSource\"},\"glyph\":{\"id\":\"2584\",\"type\":\"Quad\"},\"hover_glyph\":null,\"muted_glyph\":null,\"nonselection_glyph\":{\"id\":\"2585\",\"type\":\"Quad\"},\"selection_glyph\":null,\"view\":{\"id\":\"2587\",\"type\":\"CDSView\"}},\"id\":\"2586\",\"type\":\"GlyphRenderer\"},{\"attributes\":{\"bottom\":{\"value\":0},\"fill_alpha\":{\"value\":0.1},\"fill_color\":{\"value\":\"#1f77b4\"},\"left\":{\"field\":\"left\"},\"line_alpha\":{\"value\":0.1},\"line_color\":{\"value\":\"#1f77b4\"},\"right\":{\"field\":\"right\"},\"top\":{\"field\":\"freq\"}},\"id\":\"2585\",\"type\":\"Quad\"},{\"attributes\":{\"callback\":null,\"data\":{\"freq\":[732,106,31,2,11,6,0,0,0,3],\"index\":[0,1,2,3,4,5,6,7,8,9],\"intervals\":[\"[0.0,51.233)\",\"[51.233,102.466)\",\"[102.466,153.699)\",\"[153.699,204.932)\",\"[204.932,256.165)\",\"[256.165,307.398)\",\"[307.398,358.63)\",\"[358.63,409.863)\",\"[409.863,461.096)\",\"[461.096,512.329]\"],\"left\":{\"__ndarray__\":\"AAAAAAAAAADLSpNS0J1JQMtKk1LQnVlAGHjuPVw2Y0DLSpNS0J1pQL8OnDOiAnBAGHjuPVw2c0By4UBIFmp2QMtKk1LQnXlAJLTlXIrRfEA=\",\"dtype\":\"float64\",\"shape\":[10]},\"pct\":{\"__ndarray__\":\"/HzXlumJVEAXENgwIssnQHc5KBx61QtAxgk6wlS7zD+35odFysDzP1OHq5F/jOU/AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAU4erkX+M1T8=\",\"dtype\":\"float64\",\"shape\":[10]},\"right\":{\"__ndarray__\":\"y0qTUtCdSUDLSpNS0J1ZQBh47j1cNmNAy0qTUtCdaUC/DpwzogJwQBh47j1cNnNAcuFASBZqdkDLSpNS0J15QCS05VyK0XxAvw6cM6ICgEA=\",\"dtype\":\"float64\",\"shape\":[10]}},\"selected\":{\"id\":\"2786\",\"type\":\"Selection\"},\"selection_policy\":{\"id\":\"2787\",\"type\":\"UnionRenderers\"}},\"id\":\"2646\",\"type\":\"ColumnDataSource\"},{\"attributes\":{\"below\":[{\"id\":\"2604\",\"type\":\"CategoricalAxis\"}],\"center\":[{\"id\":\"2607\",\"type\":\"Grid\"},{\"id\":\"2612\",\"type\":\"Grid\"}],\"left\":[{\"id\":\"2608\",\"type\":\"LinearAxis\"}],\"plot_height\":300,\"plot_width\":324,\"renderers\":[{\"id\":\"2620\",\"type\":\"GlyphRenderer\"}],\"title\":{\"id\":\"2594\",\"type\":\"Title\"},\"toolbar\":{\"id\":\"2614\",\"type\":\"Toolbar\"},\"toolbar_location\":null,\"x_range\":{\"id\":\"2596\",\"type\":\"FactorRange\"},\"x_scale\":{\"id\":\"2600\",\"type\":\"CategoricalScale\"},\"y_range\":{\"id\":\"2598\",\"type\":\"DataRange1d\"},\"y_scale\":{\"id\":\"2602\",\"type\":\"LinearScale\"}},\"id\":\"2593\",\"subtype\":\"Figure\",\"type\":\"Plot\"},{\"attributes\":{\"ticks\":[0,1,2,3,4,5]},\"id\":\"2590\",\"type\":\"FixedTicker\"},{\"attributes\":{\"ticks\":[0,1,2,3,4,5]},\"id\":\"2591\",\"type\":\"FixedTicker\"},{\"attributes\":{\"callback\":null,\"data\":{\"cnt\":[7,7,7,6,6,6,5,5,4,4],\"col\":[\"1601\",\"347082\",\"CA. 2343\",\"3101295\",\"347088\",\"CA 2144\",\"382652\",\"S.O.C. 14879\",\"113760\",\"113781\"],\"index\":[0,1,2,3,4,5,6,7,8,9],\"pct\":{\"__ndarray__\":\"jcjyKeoj6T+NyPIp6iPpP43I8inqI+k/U4erkX+M5T9Th6uRf4zlP1OHq5F/jOU/G0Zk+RT14T8bRmT5FPXhP8YJOsJUu9w/xgk6wlS73D8=\",\"dtype\":\"float64\",\"shape\":[10]}},\"selected\":{\"id\":\"2779\",\"type\":\"Selection\"},\"selection_policy\":{\"id\":\"2780\",\"type\":\"UnionRenderers\"}},\"id\":\"2616\",\"type\":\"ColumnDataSource\"},{\"attributes\":{\"text\":\"Ticket\",\"text_font_size\":{\"value\":\"10pt\"}},\"id\":\"2594\",\"type\":\"Title\"},{\"attributes\":{\"callback\":null,\"factors\":[\"1601\",\"347082\",\"CA. 2343\",\"3101295\",\"347088\",\"CA 2144\",\"382652\",\"S.O.C. 14879\",\"113760\",\"113781\"]},\"id\":\"2596\",\"type\":\"FactorRange\"},{\"attributes\":{\"callback\":null},\"id\":\"2598\",\"type\":\"DataRange1d\"},{\"attributes\":{},\"id\":\"2600\",\"type\":\"CategoricalScale\"},{\"attributes\":{},\"id\":\"2602\",\"type\":\"LinearScale\"},{\"attributes\":{\"axis_label\":\"Top 10 of 681 Ticket\",\"axis_label_standoff\":0,\"formatter\":{\"id\":\"2622\",\"type\":\"FuncTickFormatter\"},\"major_label_orientation\":1.0471975511965976,\"major_label_text_font_size\":{\"value\":\"9pt\"},\"minor_tick_line_color\":{\"value\":\"white\"},\"ticker\":{\"id\":\"2605\",\"type\":\"CategoricalTicker\"}},\"id\":\"2604\",\"type\":\"CategoricalAxis\"},{\"attributes\":{},\"id\":\"2605\",\"type\":\"CategoricalTicker\"},{\"attributes\":{\"grid_line_color\":null,\"ticker\":{\"id\":\"2605\",\"type\":\"CategoricalTicker\"}},\"id\":\"2607\",\"type\":\"Grid\"},{\"attributes\":{\"axis_label\":\"Count\",\"formatter\":{\"id\":\"2777\",\"type\":\"BasicTickFormatter\"},\"major_label_text_font_size\":{\"value\":\"0pt\"},\"major_tick_line_color\":{\"value\":null},\"minor_tick_line_color\":{\"value\":\"white\"},\"ticker\":{\"id\":\"2609\",\"type\":\"BasicTicker\"}},\"id\":\"2608\",\"type\":\"LinearAxis\"},{\"attributes\":{},\"id\":\"2609\",\"type\":\"BasicTicker\"},{\"attributes\":{\"dimension\":1,\"grid_line_color\":null,\"ticker\":{\"id\":\"2609\",\"type\":\"BasicTicker\"}},\"id\":\"2612\",\"type\":\"Grid\"},{\"attributes\":{\"active_drag\":\"auto\",\"active_inspect\":\"auto\",\"active_multi\":null,\"active_scroll\":\"auto\",\"active_tap\":\"auto\",\"tools\":[{\"id\":\"2613\",\"type\":\"HoverTool\"}]},\"id\":\"2614\",\"type\":\"Toolbar\"},{\"attributes\":{\"callback\":null,\"tooltips\":[[\"Ticket\",\"@col\"],[\"Count\",\"@cnt\"],[\"Percent\",\"@pct{0.2f}%\"]]},\"id\":\"2613\",\"type\":\"HoverTool\"},{\"attributes\":{\"bottom\":{\"value\":0.01},\"fill_alpha\":{\"value\":0.1},\"fill_color\":{\"value\":\"#1f77b4\"},\"line_alpha\":{\"value\":0.1},\"line_color\":{\"value\":\"#1f77b4\"},\"top\":{\"field\":\"cnt\"},\"width\":{\"value\":0.9},\"x\":{\"field\":\"col\"}},\"id\":\"2619\",\"type\":\"VBar\"},{\"attributes\":{\"bottom\":{\"value\":0.01},\"fill_color\":{\"value\":\"#1f77b4\"},\"line_color\":{\"value\":\"#1f77b4\"},\"top\":{\"field\":\"cnt\"},\"width\":{\"value\":0.9},\"x\":{\"field\":\"col\"}},\"id\":\"2618\",\"type\":\"VBar\"},{\"attributes\":{\"data_source\":{\"id\":\"2616\",\"type\":\"ColumnDataSource\"},\"glyph\":{\"id\":\"2618\",\"type\":\"VBar\"},\"hover_glyph\":null,\"muted_glyph\":null,\"nonselection_glyph\":{\"id\":\"2619\",\"type\":\"VBar\"},\"selection_glyph\":null,\"view\":{\"id\":\"2621\",\"type\":\"CDSView\"}},\"id\":\"2620\",\"type\":\"GlyphRenderer\"},{\"attributes\":{\"callback\":null},\"id\":\"2693\",\"type\":\"DataRange1d\"},{\"attributes\":{\"source\":{\"id\":\"2616\",\"type\":\"ColumnDataSource\"}},\"id\":\"2621\",\"type\":\"CDSView\"},{\"attributes\":{\"code\":\"\\n            if (tick.length &gt; 15) return tick.substring(0, 15-2) + '...';\\n            else return tick;\\n        \"},\"id\":\"2622\",\"type\":\"FuncTickFormatter\"},{\"attributes\":{\"text\":\"Fare\",\"text_font_size\":{\"value\":\"10pt\"}},\"id\":\"2625\",\"type\":\"Title\"},{\"attributes\":{\"callback\":null},\"id\":\"2627\",\"type\":\"DataRange1d\"},{\"attributes\":{\"callback\":null},\"id\":\"2629\",\"type\":\"DataRange1d\"},{\"attributes\":{},\"id\":\"2631\",\"type\":\"LinearScale\"},{\"attributes\":{\"callback\":null},\"id\":\"2468\",\"type\":\"DataRange1d\"},{\"attributes\":{},\"id\":\"2752\",\"type\":\"UnionRenderers\"},{\"attributes\":{\"below\":[{\"id\":\"2381\",\"type\":\"CategoricalAxis\"}],\"center\":[{\"id\":\"2384\",\"type\":\"Grid\"},{\"id\":\"2389\",\"type\":\"Grid\"}],\"left\":[{\"id\":\"2385\",\"type\":\"LinearAxis\"}],\"plot_height\":300,\"plot_width\":324,\"renderers\":[{\"id\":\"2397\",\"type\":\"GlyphRenderer\"}],\"title\":{\"id\":\"2371\",\"type\":\"Title\"},\"toolbar\":{\"id\":\"2391\",\"type\":\"Toolbar\"},\"toolbar_location\":null,\"x_range\":{\"id\":\"2373\",\"type\":\"FactorRange\"},\"x_scale\":{\"id\":\"2377\",\"type\":\"CategoricalScale\"},\"y_range\":{\"id\":\"2375\",\"type\":\"DataRange1d\"},\"y_scale\":{\"id\":\"2379\",\"type\":\"LinearScale\"}},\"id\":\"2370\",\"subtype\":\"Figure\",\"type\":\"Plot\"},{\"attributes\":{},\"id\":\"2633\",\"type\":\"LinearScale\"},{\"attributes\":{},\"id\":\"2470\",\"type\":\"CategoricalScale\"},{\"attributes\":{\"ticks\":[0,200,400,600,800]},\"id\":\"2368\",\"type\":\"FixedTicker\"},{\"attributes\":{},\"id\":\"2755\",\"type\":\"BasicTickFormatter\"},{\"attributes\":{\"formatter\":{\"id\":\"2783\",\"type\":\"BasicTickFormatter\"},\"major_label_orientation\":0,\"major_label_overrides\":{\"0\":\"0\",\"100\":\"100\",\"200\":\"200\",\"300\":\"300\",\"400\":\"400\",\"500\":\"500\"},\"major_label_standoff\":7,\"major_label_text_font_size\":{\"value\":\"10pt\"},\"major_tick_line_color\":{\"value\":null},\"minor_tick_line_color\":{\"value\":\"white\"},\"ticker\":{\"id\":\"2655\",\"type\":\"FixedTicker\"}},\"id\":\"2635\",\"type\":\"LinearAxis\"},{\"attributes\":{},\"id\":\"2472\",\"type\":\"LinearScale\"},{\"attributes\":{\"ticks\":[0,200,400,600,800]},\"id\":\"2367\",\"type\":\"FixedTicker\"},{\"attributes\":{},\"id\":\"2756\",\"type\":\"BasicTickFormatter\"},{\"attributes\":{\"below\":[{\"id\":\"2668\",\"type\":\"CategoricalAxis\"}],\"center\":[{\"id\":\"2671\",\"type\":\"Grid\"},{\"id\":\"2676\",\"type\":\"Grid\"}],\"left\":[{\"id\":\"2672\",\"type\":\"LinearAxis\"}],\"plot_height\":300,\"plot_width\":324,\"renderers\":[{\"id\":\"2684\",\"type\":\"GlyphRenderer\"}],\"title\":{\"id\":\"2658\",\"type\":\"Title\"},\"toolbar\":{\"id\":\"2678\",\"type\":\"Toolbar\"},\"toolbar_location\":null,\"x_range\":{\"id\":\"2660\",\"type\":\"FactorRange\"},\"x_scale\":{\"id\":\"2664\",\"type\":\"CategoricalScale\"},\"y_range\":{\"id\":\"2662\",\"type\":\"DataRange1d\"},\"y_scale\":{\"id\":\"2666\",\"type\":\"LinearScale\"}},\"id\":\"2657\",\"subtype\":\"Figure\",\"type\":\"Plot\"},{\"attributes\":{\"formatter\":{\"id\":\"2492\",\"type\":\"FuncTickFormatter\"},\"major_label_orientation\":1.0471975511965976,\"major_label_text_font_size\":{\"value\":\"9pt\"},\"minor_tick_line_color\":{\"value\":\"white\"},\"ticker\":{\"id\":\"2475\",\"type\":\"CategoricalTicker\"}},\"id\":\"2474\",\"type\":\"CategoricalAxis\"},{\"attributes\":{\"callback\":null,\"mode\":\"vline\",\"tooltips\":[[\"Bin\",\"@intervals\"],[\"Frequency\",\"@freq\"],[\"Percent\",\"@pct{0.2f}%\"]]},\"id\":\"2365\",\"type\":\"HoverTool\"},{\"attributes\":{},\"id\":\"2758\",\"type\":\"Selection\"},{\"attributes\":{\"grid_line_color\":null,\"ticker\":{\"id\":\"2654\",\"type\":\"FixedTicker\"}},\"id\":\"2639\",\"type\":\"Grid\"},{\"attributes\":{\"bottom\":{\"value\":0.01},\"fill_alpha\":{\"value\":0.1},\"fill_color\":{\"value\":\"#1f77b4\"},\"line_alpha\":{\"value\":0.1},\"line_color\":{\"value\":\"#1f77b4\"},\"top\":{\"field\":\"cnt\"},\"width\":{\"value\":0.9},\"x\":{\"field\":\"col\"}},\"id\":\"2396\",\"type\":\"VBar\"},{\"attributes\":{},\"id\":\"2475\",\"type\":\"CategoricalTicker\"},{\"attributes\":{},\"id\":\"2759\",\"type\":\"UnionRenderers\"},{\"attributes\":{\"axis_label\":\"Frequency\",\"formatter\":{\"id\":\"2784\",\"type\":\"BasicTickFormatter\"},\"major_label_text_font_size\":{\"value\":\"0pt\"},\"major_tick_line_color\":{\"value\":null},\"minor_tick_line_color\":{\"value\":\"white\"},\"ticker\":{\"id\":\"2641\",\"type\":\"BasicTicker\"}},\"id\":\"2640\",\"type\":\"LinearAxis\"},{\"attributes\":{\"grid_line_color\":null,\"ticker\":{\"id\":\"2475\",\"type\":\"CategoricalTicker\"}},\"id\":\"2477\",\"type\":\"Grid\"},{\"attributes\":{},\"id\":\"2762\",\"type\":\"BasicTickFormatter\"},{\"attributes\":{\"text\":\"Survived\",\"text_font_size\":{\"value\":\"10pt\"}},\"id\":\"2371\",\"type\":\"Title\"},{\"attributes\":{},\"id\":\"2641\",\"type\":\"BasicTicker\"},{\"attributes\":{},\"id\":\"2763\",\"type\":\"BasicTickFormatter\"},{\"attributes\":{\"axis_label\":\"Count\",\"formatter\":{\"id\":\"2749\",\"type\":\"BasicTickFormatter\"},\"major_label_text_font_size\":{\"value\":\"0pt\"},\"major_tick_line_color\":{\"value\":null},\"minor_tick_line_color\":{\"value\":\"white\"},\"ticker\":{\"id\":\"2479\",\"type\":\"BasicTicker\"}},\"id\":\"2478\",\"type\":\"LinearAxis\"},{\"attributes\":{\"callback\":null,\"data\":{\"cnt\":[549,342],\"col\":[\"0\",\"1\"],\"index\":[0,1],\"pct\":{\"__ndarray__\":\"eTtDYt7OTkCGxLydITFDQA==\",\"dtype\":\"float64\",\"shape\":[2]}},\"selected\":{\"id\":\"2730\",\"type\":\"Selection\"},\"selection_policy\":{\"id\":\"2731\",\"type\":\"UnionRenderers\"}},\"id\":\"2393\",\"type\":\"ColumnDataSource\"},{\"attributes\":{},\"id\":\"2377\",\"type\":\"CategoricalScale\"},{\"attributes\":{\"dimension\":1,\"grid_line_color\":null,\"ticker\":{\"id\":\"2641\",\"type\":\"BasicTicker\"}},\"id\":\"2644\",\"type\":\"Grid\"},{\"attributes\":{\"bottom\":{\"value\":0},\"fill_alpha\":{\"value\":0.5},\"fill_color\":{\"value\":\"#6baed6\"},\"left\":{\"field\":\"left\"},\"line_alpha\":{\"value\":0.5},\"line_color\":{\"value\":\"#1f77b4\"},\"right\":{\"field\":\"right\"},\"top\":{\"field\":\"freq\"}},\"id\":\"2361\",\"type\":\"Quad\"},{\"attributes\":{},\"id\":\"2765\",\"type\":\"Selection\"},{\"attributes\":{\"callback\":null,\"factors\":[\"0\",\"1\"]},\"id\":\"2373\",\"type\":\"FactorRange\"},{\"attributes\":{},\"id\":\"2479\",\"type\":\"BasicTicker\"},{\"attributes\":{\"data_source\":{\"id\":\"2359\",\"type\":\"ColumnDataSource\"},\"glyph\":{\"id\":\"2361\",\"type\":\"Quad\"},\"hover_glyph\":null,\"muted_glyph\":null,\"nonselection_glyph\":{\"id\":\"2362\",\"type\":\"Quad\"},\"selection_glyph\":null,\"view\":{\"id\":\"2364\",\"type\":\"CDSView\"}},\"id\":\"2363\",\"type\":\"GlyphRenderer\"},{\"attributes\":{\"active_drag\":\"auto\",\"active_inspect\":\"auto\",\"active_multi\":null,\"active_scroll\":\"auto\",\"active_tap\":\"auto\",\"tools\":[{\"id\":\"2652\",\"type\":\"HoverTool\"}]},\"id\":\"2645\",\"type\":\"Toolbar\"},{\"attributes\":{},\"id\":\"2346\",\"type\":\"LinearScale\"},{\"attributes\":{\"callback\":null},\"id\":\"2375\",\"type\":\"DataRange1d\"},{\"attributes\":{\"dimension\":1,\"grid_line_color\":null,\"ticker\":{\"id\":\"2479\",\"type\":\"BasicTicker\"}},\"id\":\"2482\",\"type\":\"Grid\"},{\"attributes\":{},\"id\":\"2766\",\"type\":\"UnionRenderers\"},{\"attributes\":{},\"id\":\"2769\",\"type\":\"BasicTickFormatter\"},{\"attributes\":{\"active_drag\":\"auto\",\"active_inspect\":\"auto\",\"active_multi\":null,\"active_scroll\":\"auto\",\"active_tap\":\"auto\",\"tools\":[{\"id\":\"2483\",\"type\":\"HoverTool\"}]},\"id\":\"2484\",\"type\":\"Toolbar\"},{\"attributes\":{\"callback\":null,\"factors\":[\"S\",\"C\",\"Q\"]},\"id\":\"2691\",\"type\":\"FactorRange\"},{\"attributes\":{\"data_source\":{\"id\":\"2646\",\"type\":\"ColumnDataSource\"},\"glyph\":{\"id\":\"2648\",\"type\":\"Quad\"},\"hover_glyph\":null,\"muted_glyph\":null,\"nonselection_glyph\":{\"id\":\"2649\",\"type\":\"Quad\"},\"selection_glyph\":null,\"view\":{\"id\":\"2651\",\"type\":\"CDSView\"}},\"id\":\"2650\",\"type\":\"GlyphRenderer\"},{\"attributes\":{\"bottom\":{\"value\":0},\"fill_alpha\":{\"value\":0.1},\"fill_color\":{\"value\":\"#1f77b4\"},\"left\":{\"field\":\"left\"},\"line_alpha\":{\"value\":0.1},\"line_color\":{\"value\":\"#1f77b4\"},\"right\":{\"field\":\"right\"},\"top\":{\"field\":\"freq\"}},\"id\":\"2362\",\"type\":\"Quad\"},{\"attributes\":{\"callback\":null,\"tooltips\":[[\"Sex\",\"@col\"],[\"Count\",\"@cnt\"],[\"Percent\",\"@pct{0.2f}%\"]]},\"id\":\"2483\",\"type\":\"HoverTool\"},{\"attributes\":{\"text\":\"Pclass\",\"text_font_size\":{\"value\":\"10pt\"}},\"id\":\"2402\",\"type\":\"Title\"},{\"attributes\":{},\"id\":\"2770\",\"type\":\"BasicTickFormatter\"},{\"attributes\":{\"bottom\":{\"value\":0},\"fill_alpha\":{\"value\":0.5},\"fill_color\":{\"value\":\"#6baed6\"},\"left\":{\"field\":\"left\"},\"line_alpha\":{\"value\":0.5},\"line_color\":{\"value\":\"#1f77b4\"},\"right\":{\"field\":\"right\"},\"top\":{\"field\":\"freq\"}},\"id\":\"2648\",\"type\":\"Quad\"},{\"attributes\":{\"below\":[{\"id\":\"2505\",\"type\":\"LinearAxis\"}],\"center\":[{\"id\":\"2509\",\"type\":\"Grid\"},{\"id\":\"2514\",\"type\":\"Grid\"}],\"left\":[{\"id\":\"2510\",\"type\":\"LinearAxis\"}],\"plot_height\":300,\"plot_width\":324,\"renderers\":[{\"id\":\"2520\",\"type\":\"GlyphRenderer\"}],\"title\":{\"id\":\"2495\",\"type\":\"Title\"},\"toolbar\":{\"id\":\"2515\",\"type\":\"Toolbar\"},\"toolbar_location\":null,\"x_range\":{\"id\":\"2497\",\"type\":\"DataRange1d\"},\"x_scale\":{\"id\":\"2501\",\"type\":\"LinearScale\"},\"y_range\":{\"id\":\"2499\",\"type\":\"DataRange1d\"},\"y_scale\":{\"id\":\"2503\",\"type\":\"LinearScale\"}},\"id\":\"2494\",\"subtype\":\"Figure\",\"type\":\"Plot\"},{\"attributes\":{},\"id\":\"2772\",\"type\":\"Selection\"},{\"attributes\":{\"callback\":null,\"mode\":\"vline\",\"tooltips\":[[\"Bin\",\"@intervals\"],[\"Frequency\",\"@freq\"],[\"Percent\",\"@pct{0.2f}%\"]]},\"id\":\"2652\",\"type\":\"HoverTool\"},{\"attributes\":{},\"id\":\"2773\",\"type\":\"UnionRenderers\"},{\"attributes\":{\"bottom\":{\"value\":0.01},\"fill_alpha\":{\"value\":0.1},\"fill_color\":{\"value\":\"#1f77b4\"},\"line_alpha\":{\"value\":0.1},\"line_color\":{\"value\":\"#1f77b4\"},\"top\":{\"field\":\"cnt\"},\"width\":{\"value\":0.9},\"x\":{\"field\":\"col\"}},\"id\":\"2489\",\"type\":\"VBar\"},{\"attributes\":{},\"id\":\"2386\",\"type\":\"BasicTicker\"},{\"attributes\":{\"bottom\":{\"value\":0.01},\"fill_color\":{\"value\":\"#1f77b4\"},\"line_color\":{\"value\":\"#1f77b4\"},\"top\":{\"field\":\"cnt\"},\"width\":{\"value\":0.9},\"x\":{\"field\":\"col\"}},\"id\":\"2488\",\"type\":\"VBar\"},{\"attributes\":{\"source\":{\"id\":\"2646\",\"type\":\"ColumnDataSource\"}},\"id\":\"2651\",\"type\":\"CDSView\"},{\"attributes\":{},\"id\":\"2777\",\"type\":\"BasicTickFormatter\"},{\"attributes\":{\"bottom\":{\"value\":0},\"fill_alpha\":{\"value\":0.1},\"fill_color\":{\"value\":\"#1f77b4\"},\"left\":{\"field\":\"left\"},\"line_alpha\":{\"value\":0.1},\"line_color\":{\"value\":\"#1f77b4\"},\"right\":{\"field\":\"right\"},\"top\":{\"field\":\"freq\"}},\"id\":\"2649\",\"type\":\"Quad\"},{\"attributes\":{},\"id\":\"2379\",\"type\":\"LinearScale\"},{\"attributes\":{\"source\":{\"id\":\"2393\",\"type\":\"ColumnDataSource\"}},\"id\":\"2398\",\"type\":\"CDSView\"},{\"attributes\":{},\"id\":\"2779\",\"type\":\"Selection\"},{\"attributes\":{\"data_source\":{\"id\":\"2486\",\"type\":\"ColumnDataSource\"},\"glyph\":{\"id\":\"2488\",\"type\":\"VBar\"},\"hover_glyph\":null,\"muted_glyph\":null,\"nonselection_glyph\":{\"id\":\"2489\",\"type\":\"VBar\"},\"selection_glyph\":null,\"view\":{\"id\":\"2491\",\"type\":\"CDSView\"}},\"id\":\"2490\",\"type\":\"GlyphRenderer\"},{\"attributes\":{},\"id\":\"2780\",\"type\":\"UnionRenderers\"},{\"attributes\":{\"children\":[[{\"id\":\"2337\",\"subtype\":\"Figure\",\"type\":\"Plot\"},0,0],[{\"id\":\"2370\",\"subtype\":\"Figure\",\"type\":\"Plot\"},0,1],[{\"id\":\"2401\",\"subtype\":\"Figure\",\"type\":\"Plot\"},0,2],[{\"id\":\"2432\",\"subtype\":\"Figure\",\"type\":\"Plot\"},1,0],[{\"id\":\"2463\",\"subtype\":\"Figure\",\"type\":\"Plot\"},1,1],[{\"id\":\"2494\",\"subtype\":\"Figure\",\"type\":\"Plot\"},1,2],[{\"id\":\"2527\",\"subtype\":\"Figure\",\"type\":\"Plot\"},2,0],[{\"id\":\"2560\",\"subtype\":\"Figure\",\"type\":\"Plot\"},2,1],[{\"id\":\"2593\",\"subtype\":\"Figure\",\"type\":\"Plot\"},2,2],[{\"id\":\"2624\",\"subtype\":\"Figure\",\"type\":\"Plot\"},3,0],[{\"id\":\"2657\",\"subtype\":\"Figure\",\"type\":\"Plot\"},3,1],[{\"id\":\"2688\",\"subtype\":\"Figure\",\"type\":\"Plot\"},3,2]]},\"id\":\"2803\",\"type\":\"GridBox\"},{\"attributes\":{\"grid_line_color\":null,\"ticker\":{\"id\":\"2367\",\"type\":\"FixedTicker\"}},\"id\":\"2352\",\"type\":\"Grid\"},{\"attributes\":{\"bottom\":{\"value\":0},\"fill_alpha\":{\"value\":0.5},\"fill_color\":{\"value\":\"#6baed6\"},\"left\":{\"field\":\"left\"},\"line_alpha\":{\"value\":0.5},\"line_color\":{\"value\":\"#1f77b4\"},\"right\":{\"field\":\"right\"},\"top\":{\"field\":\"freq\"}},\"id\":\"2584\",\"type\":\"Quad\"},{\"attributes\":{\"source\":{\"id\":\"2486\",\"type\":\"ColumnDataSource\"}},\"id\":\"2491\",\"type\":\"CDSView\"},{\"attributes\":{},\"id\":\"2783\",\"type\":\"BasicTickFormatter\"},{\"attributes\":{\"code\":\"\\n            if (tick.length &gt; 15) return tick.substring(0, 15-2) + '...';\\n            else return tick;\\n        \"},\"id\":\"2492\",\"type\":\"FuncTickFormatter\"},{\"attributes\":{},\"id\":\"2784\",\"type\":\"BasicTickFormatter\"},{\"attributes\":{\"text\":\"Age (19.9% missing)\",\"text_font_size\":{\"value\":\"10pt\"}},\"id\":\"2495\",\"type\":\"Title\"},{\"attributes\":{},\"id\":\"2786\",\"type\":\"Selection\"},{\"attributes\":{\"callback\":null},\"id\":\"2497\",\"type\":\"DataRange1d\"},{\"attributes\":{\"text\":\"Embarked (0.2% missing)\",\"text_font_size\":{\"value\":\"10pt\"}},\"id\":\"2689\",\"type\":\"Title\"},{\"attributes\":{},\"id\":\"2787\",\"type\":\"UnionRenderers\"},{\"attributes\":{\"callback\":null},\"id\":\"2499\",\"type\":\"DataRange1d\"},{\"attributes\":{\"ticks\":[0,100,200,300,400,500]},\"id\":\"2654\",\"type\":\"FixedTicker\"},{\"attributes\":{},\"id\":\"2791\",\"type\":\"BasicTickFormatter\"},{\"attributes\":{},\"id\":\"2501\",\"type\":\"LinearScale\"},{\"attributes\":{\"text\":\"Name\",\"text_font_size\":{\"value\":\"10pt\"}},\"id\":\"2433\",\"type\":\"Title\"},{\"attributes\":{},\"id\":\"2793\",\"type\":\"Selection\"},{\"attributes\":{},\"id\":\"2344\",\"type\":\"LinearScale\"},{\"attributes\":{\"grid_line_color\":null,\"ticker\":{\"id\":\"2382\",\"type\":\"CategoricalTicker\"}},\"id\":\"2384\",\"type\":\"Grid\"},{\"attributes\":{},\"id\":\"2503\",\"type\":\"LinearScale\"},{\"attributes\":{\"ticks\":[0,100,200,300,400,500]},\"id\":\"2655\",\"type\":\"FixedTicker\"},{\"attributes\":{\"dimension\":1,\"grid_line_color\":null,\"ticker\":{\"id\":\"2354\",\"type\":\"BasicTicker\"}},\"id\":\"2357\",\"type\":\"Grid\"},{\"attributes\":{\"callback\":null,\"data\":{\"cnt\":[4,4,4,3,3,3,3,3,2,2],\"col\":[\"B96 B98\",\"C23 C25 C27\",\"G6\",\"C22 C26\",\"D\",\"E101\",\"F2\",\"F33\",\"B18\",\"B20\"],\"index\":[0,1,2,3,4,5,6,7,8,9],\"pct\":{\"__ndarray__\":\"xgk6wlS73D/GCTrCVLvcP8YJOsJUu9w/U4erkX+M1T9Th6uRf4zVP1OHq5F/jNU/U4erkX+M1T9Th6uRf4zVP8YJOsJUu8w/xgk6wlS7zD8=\",\"dtype\":\"float64\",\"shape\":[10]}},\"selected\":{\"id\":\"2793\",\"type\":\"Selection\"},\"selection_policy\":{\"id\":\"2794\",\"type\":\"UnionRenderers\"}},\"id\":\"2680\",\"type\":\"ColumnDataSource\"},{\"attributes\":{},\"id\":\"2794\",\"type\":\"UnionRenderers\"},{\"attributes\":{\"formatter\":{\"id\":\"2755\",\"type\":\"BasicTickFormatter\"},\"major_label_orientation\":0,\"major_label_overrides\":{\"0\":\"0\",\"20\":\"20\",\"40\":\"40\",\"60\":\"60\"},\"major_label_standoff\":7,\"major_label_text_font_size\":{\"value\":\"10pt\"},\"major_tick_line_color\":{\"value\":null},\"minor_tick_line_color\":{\"value\":\"white\"},\"ticker\":{\"id\":\"2525\",\"type\":\"FixedTicker\"}},\"id\":\"2505\",\"type\":\"LinearAxis\"},{\"attributes\":{\"text\":\"Cabin (77.1% missing)\",\"text_font_size\":{\"value\":\"10pt\"}},\"id\":\"2658\",\"type\":\"Title\"},{\"attributes\":{\"callback\":null,\"factors\":[\"B96 B98\",\"C23 C25 C27\",\"G6\",\"C22 C26\",\"D\",\"E101\",\"F2\",\"F33\",\"B18\",\"B20\"]},\"id\":\"2660\",\"type\":\"FactorRange\"},{\"attributes\":{},\"id\":\"2798\",\"type\":\"BasicTickFormatter\"},{\"attributes\":{\"below\":[{\"id\":\"2538\",\"type\":\"LinearAxis\"}],\"center\":[{\"id\":\"2542\",\"type\":\"Grid\"},{\"id\":\"2547\",\"type\":\"Grid\"}],\"left\":[{\"id\":\"2543\",\"type\":\"LinearAxis\"}],\"plot_height\":300,\"plot_width\":324,\"renderers\":[{\"id\":\"2553\",\"type\":\"GlyphRenderer\"}],\"title\":{\"id\":\"2528\",\"type\":\"Title\"},\"toolbar\":{\"id\":\"2548\",\"type\":\"Toolbar\"},\"toolbar_location\":null,\"x_range\":{\"id\":\"2530\",\"type\":\"DataRange1d\"},\"x_scale\":{\"id\":\"2534\",\"type\":\"LinearScale\"},\"y_range\":{\"id\":\"2532\",\"type\":\"DataRange1d\"},\"y_scale\":{\"id\":\"2536\",\"type\":\"LinearScale\"}},\"id\":\"2527\",\"subtype\":\"Figure\",\"type\":\"Plot\"},{\"attributes\":{\"callback\":null},\"id\":\"2662\",\"type\":\"DataRange1d\"},{\"attributes\":{\"source\":{\"id\":\"2359\",\"type\":\"ColumnDataSource\"}},\"id\":\"2364\",\"type\":\"CDSView\"},{\"attributes\":{},\"id\":\"2800\",\"type\":\"Selection\"},{\"attributes\":{\"grid_line_color\":null,\"ticker\":{\"id\":\"2524\",\"type\":\"FixedTicker\"}},\"id\":\"2509\",\"type\":\"Grid\"},{\"attributes\":{},\"id\":\"2664\",\"type\":\"CategoricalScale\"},{\"attributes\":{},\"id\":\"2801\",\"type\":\"UnionRenderers\"},{\"attributes\":{\"formatter\":{\"id\":\"2399\",\"type\":\"FuncTickFormatter\"},\"major_label_orientation\":1.0471975511965976,\"major_label_text_font_size\":{\"value\":\"9pt\"},\"minor_tick_line_color\":{\"value\":\"white\"},\"ticker\":{\"id\":\"2382\",\"type\":\"CategoricalTicker\"}},\"id\":\"2381\",\"type\":\"CategoricalAxis\"},{\"attributes\":{\"axis_label\":\"Frequency\",\"formatter\":{\"id\":\"2756\",\"type\":\"BasicTickFormatter\"},\"major_label_text_font_size\":{\"value\":\"0pt\"},\"major_tick_line_color\":{\"value\":null},\"minor_tick_line_color\":{\"value\":\"white\"},\"ticker\":{\"id\":\"2511\",\"type\":\"BasicTicker\"}},\"id\":\"2510\",\"type\":\"LinearAxis\"},{\"attributes\":{},\"id\":\"2666\",\"type\":\"LinearScale\"},{\"attributes\":{},\"id\":\"2354\",\"type\":\"BasicTicker\"},{\"attributes\":{},\"id\":\"2382\",\"type\":\"CategoricalTicker\"},{\"attributes\":{},\"id\":\"2511\",\"type\":\"BasicTicker\"},{\"attributes\":{\"axis_label\":\"Count\",\"formatter\":{\"id\":\"2728\",\"type\":\"BasicTickFormatter\"},\"major_label_text_font_size\":{\"value\":\"0pt\"},\"major_tick_line_color\":{\"value\":null},\"minor_tick_line_color\":{\"value\":\"white\"},\"ticker\":{\"id\":\"2386\",\"type\":\"BasicTicker\"}},\"id\":\"2385\",\"type\":\"LinearAxis\"},{\"attributes\":{\"axis_label\":\"Top 10 of 147 Cabin\",\"axis_label_standoff\":0,\"formatter\":{\"id\":\"2686\",\"type\":\"FuncTickFormatter\"},\"major_label_orientation\":1.0471975511965976,\"major_label_text_font_size\":{\"value\":\"9pt\"},\"minor_tick_line_color\":{\"value\":\"white\"},\"ticker\":{\"id\":\"2669\",\"type\":\"CategoricalTicker\"}},\"id\":\"2668\",\"type\":\"CategoricalAxis\"},{\"attributes\":{\"dimension\":1,\"grid_line_color\":null,\"ticker\":{\"id\":\"2511\",\"type\":\"BasicTicker\"}},\"id\":\"2514\",\"type\":\"Grid\"},{\"attributes\":{\"active_drag\":\"auto\",\"active_inspect\":\"auto\",\"active_multi\":null,\"active_scroll\":\"auto\",\"active_tap\":\"auto\",\"tools\":[{\"id\":\"2365\",\"type\":\"HoverTool\"}]},\"id\":\"2358\",\"type\":\"Toolbar\"},{\"attributes\":{},\"id\":\"2669\",\"type\":\"CategoricalTicker\"},{\"attributes\":{\"active_drag\":\"auto\",\"active_inspect\":\"auto\",\"active_multi\":null,\"active_scroll\":\"auto\",\"active_tap\":\"auto\",\"tools\":[{\"id\":\"2522\",\"type\":\"HoverTool\"}]},\"id\":\"2515\",\"type\":\"Toolbar\"},{\"attributes\":{\"callback\":null,\"tooltips\":[[\"Survived\",\"@col\"],[\"Count\",\"@cnt\"],[\"Percent\",\"@pct{0.2f}%\"]]},\"id\":\"2390\",\"type\":\"HoverTool\"},{\"attributes\":{\"data_source\":{\"id\":\"2393\",\"type\":\"ColumnDataSource\"},\"glyph\":{\"id\":\"2395\",\"type\":\"VBar\"},\"hover_glyph\":null,\"muted_glyph\":null,\"nonselection_glyph\":{\"id\":\"2396\",\"type\":\"VBar\"},\"selection_glyph\":null,\"view\":{\"id\":\"2398\",\"type\":\"CDSView\"}},\"id\":\"2397\",\"type\":\"GlyphRenderer\"},{\"attributes\":{\"grid_line_color\":null,\"ticker\":{\"id\":\"2669\",\"type\":\"CategoricalTicker\"}},\"id\":\"2671\",\"type\":\"Grid\"},{\"attributes\":{\"axis_label\":\"Count\",\"formatter\":{\"id\":\"2791\",\"type\":\"BasicTickFormatter\"},\"major_label_text_font_size\":{\"value\":\"0pt\"},\"major_tick_line_color\":{\"value\":null},\"minor_tick_line_color\":{\"value\":\"white\"},\"ticker\":{\"id\":\"2673\",\"type\":\"BasicTicker\"}},\"id\":\"2672\",\"type\":\"LinearAxis\"},{\"attributes\":{\"callback\":null,\"data\":{\"cnt\":[1,1,1,1,1,1,1,1,1,1],\"col\":[\"Abbing, Mr. Anthony\",\"Abbott, Mr. Rossmore Edward\",\"Abbott, Mrs. Stanton (Rosa Hunt)\",\"Abelson, Mr. Samuel\",\"Abelson, Mrs. Samuel (Hannah Wizosky)\",\"Adahl, Mr. Mauritz Nils Martin\",\"Adams, Mr. John\",\"Ahlin, Mrs. Johan (Johanna Persdotter Larsson)\",\"Aks, Mrs. Sam (Leah Rosen)\",\"Albimona, Mr. Nassef Cassem\"],\"index\":[0,1,2,3,4,5,6,7,8,9],\"pct\":{\"__ndarray__\":\"xgk6wlS7vD/GCTrCVLu8P8YJOsJUu7w/xgk6wlS7vD/GCTrCVLu8P8YJOsJUu7w/xgk6wlS7vD/GCTrCVLu8P8YJOsJUu7w/xgk6wlS7vD8=\",\"dtype\":\"float64\",\"shape\":[10]}},\"selected\":{\"id\":\"2744\",\"type\":\"Selection\"},\"selection_policy\":{\"id\":\"2745\",\"type\":\"UnionRenderers\"}},\"id\":\"2455\",\"type\":\"ColumnDataSource\"},{\"attributes\":{\"formatter\":{\"id\":\"2720\",\"type\":\"BasicTickFormatter\"},\"major_label_orientation\":0,\"major_label_overrides\":{\"0\":\"0\",\"200\":\"200\",\"400\":\"400\",\"600\":\"600\",\"800\":\"800\"},\"major_label_standoff\":7,\"major_label_text_font_size\":{\"value\":\"10pt\"},\"major_tick_line_color\":{\"value\":null},\"minor_tick_line_color\":{\"value\":\"white\"},\"ticker\":{\"id\":\"2368\",\"type\":\"FixedTicker\"}},\"id\":\"2348\",\"type\":\"LinearAxis\"},{\"attributes\":{\"active_drag\":\"auto\",\"active_inspect\":\"auto\",\"active_multi\":null,\"active_scroll\":\"auto\",\"active_tap\":\"auto\",\"tools\":[{\"id\":\"2390\",\"type\":\"HoverTool\"}]},\"id\":\"2391\",\"type\":\"Toolbar\"},{\"attributes\":{\"data_source\":{\"id\":\"2516\",\"type\":\"ColumnDataSource\"},\"glyph\":{\"id\":\"2518\",\"type\":\"Quad\"},\"hover_glyph\":null,\"muted_glyph\":null,\"nonselection_glyph\":{\"id\":\"2519\",\"type\":\"Quad\"},\"selection_glyph\":null,\"view\":{\"id\":\"2521\",\"type\":\"CDSView\"}},\"id\":\"2520\",\"type\":\"GlyphRenderer\"},{\"attributes\":{\"bottom\":{\"value\":0},\"fill_alpha\":{\"value\":0.5},\"fill_color\":{\"value\":\"#6baed6\"},\"left\":{\"field\":\"left\"},\"line_alpha\":{\"value\":0.5},\"line_color\":{\"value\":\"#1f77b4\"},\"right\":{\"field\":\"right\"},\"top\":{\"field\":\"freq\"}},\"id\":\"2518\",\"type\":\"Quad\"},{\"attributes\":{},\"id\":\"2673\",\"type\":\"BasicTicker\"},{\"attributes\":{\"dimension\":1,\"grid_line_color\":null,\"ticker\":{\"id\":\"2386\",\"type\":\"BasicTicker\"}},\"id\":\"2389\",\"type\":\"Grid\"},{\"attributes\":{\"active_drag\":\"auto\",\"active_inspect\":\"auto\",\"active_multi\":null,\"active_scroll\":\"auto\",\"active_tap\":\"auto\",\"tools\":[{\"id\":\"2452\",\"type\":\"HoverTool\"}]},\"id\":\"2453\",\"type\":\"Toolbar\"},{\"attributes\":{\"dimension\":1,\"grid_line_color\":null,\"ticker\":{\"id\":\"2673\",\"type\":\"BasicTicker\"}},\"id\":\"2676\",\"type\":\"Grid\"},{\"attributes\":{\"callback\":null,\"mode\":\"vline\",\"tooltips\":[[\"Bin\",\"@intervals\"],[\"Frequency\",\"@freq\"],[\"Percent\",\"@pct{0.2f}%\"]]},\"id\":\"2522\",\"type\":\"HoverTool\"},{\"attributes\":{\"active_drag\":\"auto\",\"active_inspect\":\"auto\",\"active_multi\":null,\"active_scroll\":\"auto\",\"active_tap\":\"auto\",\"tools\":[{\"id\":\"2677\",\"type\":\"HoverTool\"}]},\"id\":\"2678\",\"type\":\"Toolbar\"},{\"attributes\":{\"bottom\":{\"value\":0.01},\"fill_color\":{\"value\":\"#1f77b4\"},\"line_color\":{\"value\":\"#1f77b4\"},\"top\":{\"field\":\"cnt\"},\"width\":{\"value\":0.9},\"x\":{\"field\":\"col\"}},\"id\":\"2395\",\"type\":\"VBar\"},{\"attributes\":{\"source\":{\"id\":\"2516\",\"type\":\"ColumnDataSource\"}},\"id\":\"2521\",\"type\":\"CDSView\"},{\"attributes\":{\"callback\":null,\"tooltips\":[[\"Cabin\",\"@col\"],[\"Count\",\"@cnt\"],[\"Percent\",\"@pct{0.2f}%\"]]},\"id\":\"2677\",\"type\":\"HoverTool\"},{\"attributes\":{\"bottom\":{\"value\":0},\"fill_alpha\":{\"value\":0.1},\"fill_color\":{\"value\":\"#1f77b4\"},\"left\":{\"field\":\"left\"},\"line_alpha\":{\"value\":0.1},\"line_color\":{\"value\":\"#1f77b4\"},\"right\":{\"field\":\"right\"},\"top\":{\"field\":\"freq\"}},\"id\":\"2519\",\"type\":\"Quad\"},{\"attributes\":{\"axis_label\":\"Frequency\",\"formatter\":{\"id\":\"2721\",\"type\":\"BasicTickFormatter\"},\"major_label_text_font_size\":{\"value\":\"0pt\"},\"major_tick_line_color\":{\"value\":null},\"minor_tick_line_color\":{\"value\":\"white\"},\"ticker\":{\"id\":\"2354\",\"type\":\"BasicTicker\"}},\"id\":\"2353\",\"type\":\"LinearAxis\"},{\"attributes\":{},\"id\":\"2695\",\"type\":\"CategoricalScale\"}],\"root_ids\":[\"2803\"]},\"title\":\"Bokeh Application\",\"version\":\"1.4.0\"}}\n",
       "        </script>\n",
       "        <script type=\"text/javascript\">\n",
       "          (function() {\n",
       "            var fn = function() {\n",
       "              Bokeh.safely(function() {\n",
       "                (function(root) {\n",
       "                  function embed_document(root) {\n",
       "                    \n",
       "                  var docs_json = document.getElementById('3668').textContent;\n",
       "                  var render_items = [{\"docid\":\"9e3757fe-7fe5-4e30-adfc-9a0262ccf0de\",\"roots\":{\"2803\":\"c84b2ece-61a6-48df-9058-8a773c48f126\"}}];\n",
       "                  root.Bokeh.embed.embed_items(docs_json, render_items);\n",
       "                \n",
       "                  }\n",
       "                  if (root.Bokeh !== undefined) {\n",
       "                    embed_document(root);\n",
       "                  } else {\n",
       "                    var attempts = 0;\n",
       "                    var timer = setInterval(function(root) {\n",
       "                      if (root.Bokeh !== undefined) {\n",
       "                        clearInterval(timer);\n",
       "                        embed_document(root);\n",
       "                      } else {\n",
       "                        attempts++;\n",
       "                        if (attempts > 100) {\n",
       "                          clearInterval(timer);\n",
       "                          console.log(\"Bokeh: ERROR: Unable to run BokehJS code because BokehJS library is missing\");\n",
       "                        }\n",
       "                      }\n",
       "                    }, 10, root)\n",
       "                  }\n",
       "                })(window);\n",
       "              });\n",
       "            };\n",
       "            if (document.readyState != \"loading\") fn();\n",
       "            else document.addEventListener(\"DOMContentLoaded\", fn);\n",
       "          })();\n",
       "        </script>\n",
       "    \n",
       "  </body>\n",
       "  \n",
       "</html>"
      ],
      "text/plain": [
       "<dataprep.eda.report.Report at 0x1c251c8ef0>"
      ]
     },
     "execution_count": 3,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "# identify 'PassengerId','Survived', 'Pclass' as categorical column and replot.\n",
    "for col in ['Survived', 'Pclass']:\n",
    "    train_df[col] = train_df[col].astype(\"object\")\n",
    "plot(train_df)"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "## 5. Identify useful features\n",
    "After we roungly know the data, next we want to understand how each feature is correlated to the label column. \n",
    "### 5.1 Age, Cabin, and Embarked: features with missing values.\n",
    "We first take a look at features with missing values: age, cabin and embarked. To understand the missing value, we first call plot_missing(df) to see whether the missing values have any underlaying pattern."
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 4,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/html": [
       "\n",
       "\n",
       "\n",
       "\n",
       "<!DOCTYPE html>\n",
       "<html lang=\"en\">\n",
       "  \n",
       "  <head>\n",
       "    \n",
       "      <meta charset=\"utf-8\">\n",
       "      <title>Report</title>\n",
       "      \n",
       "      \n",
       "        \n",
       "          \n",
       "        \n",
       "        \n",
       "          \n",
       "        <script type=\"text/javascript\" src=\"https://cdn.pydata.org/bokeh/release/bokeh-1.4.0.min.js\"></script>\n",
       "        <script type=\"text/javascript\">\n",
       "            Bokeh.set_log_level(\"info\");\n",
       "        </script>\n",
       "        \n",
       "      \n",
       "      \n",
       "    \n",
       "  </head>\n",
       "  \n",
       "  \n",
       "  <body>\n",
       "    \n",
       "      \n",
       "        \n",
       "          \n",
       "          \n",
       "            \n",
       "              <div class=\"bk-root\" id=\"45a06efb-a1be-473f-bfc3-1b9df5697953\" data-root-id=\"3677\"></div>\n",
       "            \n",
       "          \n",
       "        \n",
       "      \n",
       "      \n",
       "        <script type=\"application/json\" id=\"3798\">\n",
       "          {\"191e8cbc-d74a-479b-a2a1-63b23b61ab62\":{\"roots\":{\"references\":[{\"attributes\":{\"fill_color\":{\"field\":\"missing_rate\",\"transform\":{\"id\":\"3669\",\"type\":\"LinearColorMapper\"}},\"height\":{\"units\":\"data\",\"value\":29.0},\"line_color\":{\"value\":null},\"line_width\":{\"value\":0},\"width\":{\"units\":\"data\",\"value\":0.95},\"x\":{\"field\":\"column_with_perc\"},\"y\":{\"field\":\"location\"}},\"id\":\"3698\",\"type\":\"Rect\"},{\"attributes\":{\"formatter\":{\"id\":\"3704\",\"type\":\"CategoricalTickFormatter\"},\"major_label_orientation\":1.0471975511965976,\"major_label_standoff\":0,\"major_label_text_font_size\":{\"value\":\"9pt\"},\"major_tick_line_color\":{\"value\":null},\"ticker\":{\"id\":\"3685\",\"type\":\"CategoricalTicker\"}},\"id\":\"3684\",\"type\":\"CategoricalAxis\"},{\"attributes\":{\"data_source\":{\"id\":\"3696\",\"type\":\"ColumnDataSource\"},\"glyph\":{\"id\":\"3698\",\"type\":\"Rect\"},\"hover_glyph\":null,\"muted_glyph\":null,\"nonselection_glyph\":{\"id\":\"3699\",\"type\":\"Rect\"},\"selection_glyph\":null,\"view\":{\"id\":\"3701\",\"type\":\"CDSView\"}},\"id\":\"3700\",\"type\":\"GlyphRenderer\"},{\"attributes\":{\"format\":\"0 %\"},\"id\":\"3671\",\"type\":\"NumeralTickFormatter\"},{\"attributes\":{\"grid_line_color\":null,\"ticker\":{\"id\":\"3685\",\"type\":\"CategoricalTicker\"}},\"id\":\"3687\",\"type\":\"Grid\"},{\"attributes\":{\"fill_alpha\":{\"value\":0.1},\"fill_color\":{\"value\":\"#1f77b4\"},\"height\":{\"units\":\"data\",\"value\":29.0},\"line_alpha\":{\"value\":0.1},\"line_color\":{\"value\":\"#1f77b4\"},\"line_width\":{\"value\":0},\"width\":{\"units\":\"data\",\"value\":0.95},\"x\":{\"field\":\"column_with_perc\"},\"y\":{\"field\":\"location\"}},\"id\":\"3699\",\"type\":\"Rect\"},{\"attributes\":{},\"id\":\"3706\",\"type\":\"BasicTickFormatter\"},{\"attributes\":{\"formatter\":{\"id\":\"3706\",\"type\":\"BasicTickFormatter\"},\"major_label_standoff\":0,\"major_label_text_font_size\":{\"value\":\"9pt\"},\"major_tick_line_color\":{\"value\":null},\"ticker\":{\"id\":\"3689\",\"type\":\"BasicTicker\"}},\"id\":\"3688\",\"type\":\"LinearAxis\"},{\"attributes\":{\"color_mapper\":{\"id\":\"3669\",\"type\":\"LinearColorMapper\"},\"formatter\":{\"id\":\"3671\",\"type\":\"NumeralTickFormatter\"},\"label_standoff\":10,\"location\":[0,0],\"major_label_text_font_size\":{\"value\":\"8pt\"},\"ticker\":{\"id\":\"3670\",\"type\":\"BasicTicker\"}},\"id\":\"3672\",\"type\":\"ColorBar\"},{\"attributes\":{\"callback\":null,\"end\":0.0,\"start\":899.0},\"id\":\"3676\",\"type\":\"Range1d\"},{\"attributes\":{},\"id\":\"3689\",\"type\":\"BasicTicker\"},{\"attributes\":{},\"id\":\"3704\",\"type\":\"CategoricalTickFormatter\"},{\"attributes\":{\"dimension\":1,\"grid_line_color\":null,\"ticker\":{\"id\":\"3689\",\"type\":\"BasicTicker\"}},\"id\":\"3692\",\"type\":\"Grid\"},{\"attributes\":{},\"id\":\"3670\",\"type\":\"BasicTicker\"},{\"attributes\":{},\"id\":\"3708\",\"type\":\"Selection\"},{\"attributes\":{\"high\":1,\"low\":0,\"palette\":[\"#ffffff\",\"#fefefe\",\"#fdfdfd\",\"#fcfcfc\",\"#fbfbfb\",\"#fafafa\",\"#f9f9f9\",\"#f8f8f8\",\"#f7f7f7\",\"#f6f6f6\",\"#f5f5f5\",\"#f4f4f4\",\"#f3f3f3\",\"#f2f2f2\",\"#f1f1f1\",\"#f0f0f0\",\"#efefef\",\"#eeeeee\",\"#ededed\",\"#ececec\",\"#ebebeb\",\"#eaeaea\",\"#e9e9e9\",\"#e8e8e8\",\"#e7e7e7\",\"#e6e6e6\",\"#e5e5e5\",\"#e4e4e4\",\"#e3e3e3\",\"#e2e2e2\",\"#e1e1e1\",\"#e0e0e0\",\"#dfdfdf\",\"#dedede\",\"#dddddd\",\"#dcdcdc\",\"#dbdbdb\",\"#dadada\",\"#d9d9d9\",\"#d8d8d8\",\"#d7d7d7\",\"#d6d6d6\",\"#d5d5d5\",\"#d4d4d4\",\"#d3d3d3\",\"#d2d2d2\",\"#d1d1d1\",\"#d0d0d0\",\"#cfcfcf\",\"#cecece\",\"#cdcdcd\",\"#cccccc\",\"#cbcbcb\",\"#cacaca\",\"#c9c9c9\",\"#c8c8c8\",\"#c7c7c7\",\"#c6c6c6\",\"#c5c5c5\",\"#c4c4c4\",\"#c3c3c3\",\"#c2c2c2\",\"#c1c1c1\",\"#c0c0c0\",\"#bfbfbf\",\"#bebebe\",\"#bdbdbd\",\"#bcbcbc\",\"#bbbbbb\",\"#bababa\",\"#b9b9b9\",\"#b8b8b8\",\"#b7b7b7\",\"#b6b6b6\",\"#b5b5b5\",\"#b4b4b4\",\"#b3b3b3\",\"#b2b2b2\",\"#b1b1b1\",\"#b0b0b0\",\"#afafaf\",\"#aeaeae\",\"#adadad\",\"#acacac\",\"#ababab\",\"#aaaaaa\",\"#a9a9a9\",\"#a8a8a8\",\"#a7a7a7\",\"#a6a6a6\",\"#a5a5a5\",\"#a4a4a4\",\"#a3a3a3\",\"#a2a2a2\",\"#a1a1a1\",\"#a0a0a0\",\"#9f9f9f\",\"#9e9e9e\",\"#9d9d9d\",\"#9c9c9c\",\"#9b9b9b\",\"#9a9a9a\",\"#999999\",\"#989898\",\"#979797\",\"#969696\",\"#959595\",\"#949494\",\"#939393\",\"#929292\",\"#919191\",\"#909090\",\"#8f8f8f\",\"#8e8e8e\",\"#8d8d8d\",\"#8c8c8c\",\"#8b8b8b\",\"#8a8a8a\",\"#898989\",\"#888888\",\"#878787\",\"#868686\",\"#858585\",\"#848484\",\"#838383\",\"#828282\",\"#818181\",\"#808080\",\"#7f7f7f\",\"#7e7e7e\",\"#7d7d7d\",\"#7c7c7c\",\"#7b7b7b\",\"#7a7a7a\",\"#797979\",\"#787878\",\"#777777\",\"#767676\",\"#757575\",\"#747474\",\"#737373\",\"#727272\",\"#717171\",\"#707070\",\"#6f6f6f\",\"#6e6e6e\",\"#6d6d6d\",\"#6c6c6c\",\"#6b6b6b\",\"#6a6a6a\",\"#696969\",\"#686868\",\"#676767\",\"#666666\",\"#656565\",\"#646464\",\"#636363\",\"#626262\",\"#616161\",\"#606060\",\"#5f5f5f\",\"#5e5e5e\",\"#5d5d5d\",\"#5c5c5c\",\"#5b5b5b\",\"#5a5a5a\",\"#595959\",\"#585858\",\"#575757\",\"#565656\",\"#555555\",\"#545454\",\"#535353\",\"#525252\",\"#515151\",\"#505050\",\"#4f4f4f\",\"#4e4e4e\",\"#4d4d4d\",\"#4c4c4c\",\"#4b4b4b\",\"#4a4a4a\",\"#494949\",\"#484848\",\"#474747\",\"#464646\",\"#454545\",\"#444444\",\"#434343\",\"#424242\",\"#414141\",\"#404040\",\"#3f3f3f\",\"#3e3e3e\",\"#3d3d3d\",\"#3c3c3c\",\"#3b3b3b\",\"#3a3a3a\",\"#393939\",\"#383838\",\"#373737\",\"#363636\",\"#353535\",\"#343434\",\"#333333\",\"#323232\",\"#313131\",\"#303030\",\"#2f2f2f\",\"#2e2e2e\",\"#2d2d2d\",\"#2c2c2c\",\"#2b2b2b\",\"#2a2a2a\",\"#292929\",\"#282828\",\"#272727\",\"#262626\",\"#252525\",\"#242424\",\"#232323\",\"#222222\",\"#212121\",\"#202020\",\"#1f1f1f\",\"#1e1e1e\",\"#1d1d1d\",\"#1c1c1c\",\"#1b1b1b\",\"#1a1a1a\",\"#191919\",\"#181818\",\"#171717\",\"#161616\",\"#151515\",\"#141414\",\"#131313\",\"#121212\",\"#111111\",\"#101010\",\"#0f0f0f\",\"#0e0e0e\",\"#0d0d0d\",\"#0c0c0c\",\"#0b0b0b\",\"#0a0a0a\",\"#090909\",\"#080808\",\"#070707\",\"#060606\",\"#050505\",\"#040404\",\"#030303\",\"#020202\",\"#010101\",\"#000000\"]},\"id\":\"3669\",\"type\":\"LinearColorMapper\"},{\"attributes\":{\"active_drag\":\"auto\",\"active_inspect\":\"auto\",\"active_multi\":null,\"active_scroll\":\"auto\",\"active_tap\":\"auto\",\"tools\":[{\"id\":\"3693\",\"type\":\"HoverTool\"}]},\"id\":\"3694\",\"type\":\"Toolbar\"},{\"attributes\":{\"text\":\"\"},\"id\":\"3702\",\"type\":\"Title\"},{\"attributes\":{\"callback\":null,\"factors\":[\"PassengerId\",\"Survived\",\"Pclass\",\"Name\",\"Sex\",\"Age (19.9%)\",\"SibSp\",\"Parch\",\"Ticket\",\"Fare\",\"Cabin (77.1%)\",\"Embarked (0.2%)\"]},\"id\":\"3675\",\"type\":\"FactorRange\"},{\"attributes\":{\"callback\":null,\"tooltips\":[[\"Column\",\"@column\"],[\"Loc\",\"@loc_start{1}~@loc_end{1}\"],[\"Missing%\",\"@missing_rate{1%}\"]]},\"id\":\"3693\",\"type\":\"HoverTool\"},{\"attributes\":{},\"id\":\"3709\",\"type\":\"UnionRenderers\"},{\"attributes\":{\"above\":[{\"id\":\"3684\",\"type\":\"CategoricalAxis\"}],\"center\":[{\"id\":\"3687\",\"type\":\"Grid\"},{\"id\":\"3692\",\"type\":\"Grid\"}],\"left\":[{\"id\":\"3688\",\"type\":\"LinearAxis\"}],\"plot_height\":500,\"plot_width\":500,\"renderers\":[{\"id\":\"3700\",\"type\":\"GlyphRenderer\"}],\"right\":[{\"id\":\"3672\",\"type\":\"ColorBar\"}],\"title\":{\"id\":\"3702\",\"type\":\"Title\"},\"toolbar\":{\"id\":\"3694\",\"type\":\"Toolbar\"},\"toolbar_location\":null,\"x_range\":{\"id\":\"3675\",\"type\":\"FactorRange\"},\"x_scale\":{\"id\":\"3680\",\"type\":\"CategoricalScale\"},\"y_range\":{\"id\":\"3676\",\"type\":\"Range1d\"},\"y_scale\":{\"id\":\"3682\",\"type\":\"LinearScale\"}},\"id\":\"3677\",\"subtype\":\"Figure\",\"type\":\"Plot\"},{\"attributes\":{},\"id\":\"3685\",\"type\":\"CategoricalTicker\"},{\"attributes\":{\"callback\":null,\"data\":{\"column\":[\"PassengerId\",\"PassengerId\",\"PassengerId\",\"PassengerId\",\"PassengerId\",\"PassengerId\",\"PassengerId\",\"PassengerId\",\"PassengerId\",\"PassengerId\",\"PassengerId\",\"PassengerId\",\"PassengerId\",\"PassengerId\",\"PassengerId\",\"PassengerId\",\"PassengerId\",\"PassengerId\",\"PassengerId\",\"PassengerId\",\"PassengerId\",\"PassengerId\",\"PassengerId\",\"PassengerId\",\"PassengerId\",\"PassengerId\",\"PassengerId\",\"PassengerId\",\"PassengerId\",\"PassengerId\",\"PassengerId\",\"Survived\",\"Survived\",\"Survived\",\"Survived\",\"Survived\",\"Survived\",\"Survived\",\"Survived\",\"Survived\",\"Survived\",\"Survived\",\"Survived\",\"Survived\",\"Survived\",\"Survived\",\"Survived\",\"Survived\",\"Survived\",\"Survived\",\"Survived\",\"Survived\",\"Survived\",\"Survived\",\"Survived\",\"Survived\",\"Survived\",\"Survived\",\"Survived\",\"Survived\",\"Survived\",\"Survived\",\"Pclass\",\"Pclass\",\"Pclass\",\"Pclass\",\"Pclass\",\"Pclass\",\"Pclass\",\"Pclass\",\"Pclass\",\"Pclass\",\"Pclass\",\"Pclass\",\"Pclass\",\"Pclass\",\"Pclass\",\"Pclass\",\"Pclass\",\"Pclass\",\"Pclass\",\"Pclass\",\"Pclass\",\"Pclass\",\"Pclass\",\"Pclass\",\"Pclass\",\"Pclass\",\"Pclass\",\"Pclass\",\"Pclass\",\"Pclass\",\"Pclass\",\"Name\",\"Name\",\"Name\",\"Name\",\"Name\",\"Name\",\"Name\",\"Name\",\"Name\",\"Name\",\"Name\",\"Name\",\"Name\",\"Name\",\"Name\",\"Name\",\"Name\",\"Name\",\"Name\",\"Name\",\"Name\",\"Name\",\"Name\",\"Name\",\"Name\",\"Name\",\"Name\",\"Name\",\"Name\",\"Name\",\"Name\",\"Sex\",\"Sex\",\"Sex\",\"Sex\",\"Sex\",\"Sex\",\"Sex\",\"Sex\",\"Sex\",\"Sex\",\"Sex\",\"Sex\",\"Sex\",\"Sex\",\"Sex\",\"Sex\",\"Sex\",\"Sex\",\"Sex\",\"Sex\",\"Sex\",\"Sex\",\"Sex\",\"Sex\",\"Sex\",\"Sex\",\"Sex\",\"Sex\",\"Sex\",\"Sex\",\"Sex\",\"Age\",\"Age\",\"Age\",\"Age\",\"Age\",\"Age\",\"Age\",\"Age\",\"Age\",\"Age\",\"Age\",\"Age\",\"Age\",\"Age\",\"Age\",\"Age\",\"Age\",\"Age\",\"Age\",\"Age\",\"Age\",\"Age\",\"Age\",\"Age\",\"Age\",\"Age\",\"Age\",\"Age\",\"Age\",\"Age\",\"Age\",\"SibSp\",\"SibSp\",\"SibSp\",\"SibSp\",\"SibSp\",\"SibSp\",\"SibSp\",\"SibSp\",\"SibSp\",\"SibSp\",\"SibSp\",\"SibSp\",\"SibSp\",\"SibSp\",\"SibSp\",\"SibSp\",\"SibSp\",\"SibSp\",\"SibSp\",\"SibSp\",\"SibSp\",\"SibSp\",\"SibSp\",\"SibSp\",\"SibSp\",\"SibSp\",\"SibSp\",\"SibSp\",\"SibSp\",\"SibSp\",\"SibSp\",\"Parch\",\"Parch\",\"Parch\",\"Parch\",\"Parch\",\"Parch\",\"Parch\",\"Parch\",\"Parch\",\"Parch\",\"Parch\",\"Parch\",\"Parch\",\"Parch\",\"Parch\",\"Parch\",\"Parch\",\"Parch\",\"Parch\",\"Parch\",\"Parch\",\"Parch\",\"Parch\",\"Parch\",\"Parch\",\"Parch\",\"Parch\",\"Parch\",\"Parch\",\"Parch\",\"Parch\",\"Ticket\",\"Ticket\",\"Ticket\",\"Ticket\",\"Ticket\",\"Ticket\",\"Ticket\",\"Ticket\",\"Ticket\",\"Ticket\",\"Ticket\",\"Ticket\",\"Ticket\",\"Ticket\",\"Ticket\",\"Ticket\",\"Ticket\",\"Ticket\",\"Ticket\",\"Ticket\",\"Ticket\",\"Ticket\",\"Ticket\",\"Ticket\",\"Ticket\",\"Ticket\",\"Ticket\",\"Ticket\",\"Ticket\",\"Ticket\",\"Ticket\",\"Fare\",\"Fare\",\"Fare\",\"Fare\",\"Fare\",\"Fare\",\"Fare\",\"Fare\",\"Fare\",\"Fare\",\"Fare\",\"Fare\",\"Fare\",\"Fare\",\"Fare\",\"Fare\",\"Fare\",\"Fare\",\"Fare\",\"Fare\",\"Fare\",\"Fare\",\"Fare\",\"Fare\",\"Fare\",\"Fare\",\"Fare\",\"Fare\",\"Fare\",\"Fare\",\"Fare\",\"Cabin\",\"Cabin\",\"Cabin\",\"Cabin\",\"Cabin\",\"Cabin\",\"Cabin\",\"Cabin\",\"Cabin\",\"Cabin\",\"Cabin\",\"Cabin\",\"Cabin\",\"Cabin\",\"Cabin\",\"Cabin\",\"Cabin\",\"Cabin\",\"Cabin\",\"Cabin\",\"Cabin\",\"Cabin\",\"Cabin\",\"Cabin\",\"Cabin\",\"Cabin\",\"Cabin\",\"Cabin\",\"Cabin\",\"Cabin\",\"Cabin\",\"Embarked\",\"Embarked\",\"Embarked\",\"Embarked\",\"Embarked\",\"Embarked\",\"Embarked\",\"Embarked\",\"Embarked\",\"Embarked\",\"Embarked\",\"Embarked\",\"Embarked\",\"Embarked\",\"Embarked\",\"Embarked\",\"Embarked\",\"Embarked\",\"Embarked\",\"Embarked\",\"Embarked\",\"Embarked\",\"Embarked\",\"Embarked\",\"Embarked\",\"Embarked\",\"Embarked\",\"Embarked\",\"Embarked\",\"Embarked\",\"Embarked\"],\"column_with_perc\":[\"PassengerId\",\"PassengerId\",\"PassengerId\",\"PassengerId\",\"PassengerId\",\"PassengerId\",\"PassengerId\",\"PassengerId\",\"PassengerId\",\"PassengerId\",\"PassengerId\",\"PassengerId\",\"PassengerId\",\"PassengerId\",\"PassengerId\",\"PassengerId\",\"PassengerId\",\"PassengerId\",\"PassengerId\",\"PassengerId\",\"PassengerId\",\"PassengerId\",\"PassengerId\",\"PassengerId\",\"PassengerId\",\"PassengerId\",\"PassengerId\",\"PassengerId\",\"PassengerId\",\"PassengerId\",\"PassengerId\",\"Survived\",\"Survived\",\"Survived\",\"Survived\",\"Survived\",\"Survived\",\"Survived\",\"Survived\",\"Survived\",\"Survived\",\"Survived\",\"Survived\",\"Survived\",\"Survived\",\"Survived\",\"Survived\",\"Survived\",\"Survived\",\"Survived\",\"Survived\",\"Survived\",\"Survived\",\"Survived\",\"Survived\",\"Survived\",\"Survived\",\"Survived\",\"Survived\",\"Survived\",\"Survived\",\"Survived\",\"Pclass\",\"Pclass\",\"Pclass\",\"Pclass\",\"Pclass\",\"Pclass\",\"Pclass\",\"Pclass\",\"Pclass\",\"Pclass\",\"Pclass\",\"Pclass\",\"Pclass\",\"Pclass\",\"Pclass\",\"Pclass\",\"Pclass\",\"Pclass\",\"Pclass\",\"Pclass\",\"Pclass\",\"Pclass\",\"Pclass\",\"Pclass\",\"Pclass\",\"Pclass\",\"Pclass\",\"Pclass\",\"Pclass\",\"Pclass\",\"Pclass\",\"Name\",\"Name\",\"Name\",\"Name\",\"Name\",\"Name\",\"Name\",\"Name\",\"Name\",\"Name\",\"Name\",\"Name\",\"Name\",\"Name\",\"Name\",\"Name\",\"Name\",\"Name\",\"Name\",\"Name\",\"Name\",\"Name\",\"Name\",\"Name\",\"Name\",\"Name\",\"Name\",\"Name\",\"Name\",\"Name\",\"Name\",\"Sex\",\"Sex\",\"Sex\",\"Sex\",\"Sex\",\"Sex\",\"Sex\",\"Sex\",\"Sex\",\"Sex\",\"Sex\",\"Sex\",\"Sex\",\"Sex\",\"Sex\",\"Sex\",\"Sex\",\"Sex\",\"Sex\",\"Sex\",\"Sex\",\"Sex\",\"Sex\",\"Sex\",\"Sex\",\"Sex\",\"Sex\",\"Sex\",\"Sex\",\"Sex\",\"Sex\",\"Age (19.9%)\",\"Age (19.9%)\",\"Age (19.9%)\",\"Age (19.9%)\",\"Age (19.9%)\",\"Age (19.9%)\",\"Age (19.9%)\",\"Age (19.9%)\",\"Age (19.9%)\",\"Age (19.9%)\",\"Age (19.9%)\",\"Age (19.9%)\",\"Age (19.9%)\",\"Age (19.9%)\",\"Age (19.9%)\",\"Age (19.9%)\",\"Age (19.9%)\",\"Age (19.9%)\",\"Age (19.9%)\",\"Age (19.9%)\",\"Age (19.9%)\",\"Age (19.9%)\",\"Age (19.9%)\",\"Age (19.9%)\",\"Age (19.9%)\",\"Age (19.9%)\",\"Age (19.9%)\",\"Age (19.9%)\",\"Age (19.9%)\",\"Age (19.9%)\",\"Age (19.9%)\",\"SibSp\",\"SibSp\",\"SibSp\",\"SibSp\",\"SibSp\",\"SibSp\",\"SibSp\",\"SibSp\",\"SibSp\",\"SibSp\",\"SibSp\",\"SibSp\",\"SibSp\",\"SibSp\",\"SibSp\",\"SibSp\",\"SibSp\",\"SibSp\",\"SibSp\",\"SibSp\",\"SibSp\",\"SibSp\",\"SibSp\",\"SibSp\",\"SibSp\",\"SibSp\",\"SibSp\",\"SibSp\",\"SibSp\",\"SibSp\",\"SibSp\",\"Parch\",\"Parch\",\"Parch\",\"Parch\",\"Parch\",\"Parch\",\"Parch\",\"Parch\",\"Parch\",\"Parch\",\"Parch\",\"Parch\",\"Parch\",\"Parch\",\"Parch\",\"Parch\",\"Parch\",\"Parch\",\"Parch\",\"Parch\",\"Parch\",\"Parch\",\"Parch\",\"Parch\",\"Parch\",\"Parch\",\"Parch\",\"Parch\",\"Parch\",\"Parch\",\"Parch\",\"Ticket\",\"Ticket\",\"Ticket\",\"Ticket\",\"Ticket\",\"Ticket\",\"Ticket\",\"Ticket\",\"Ticket\",\"Ticket\",\"Ticket\",\"Ticket\",\"Ticket\",\"Ticket\",\"Ticket\",\"Ticket\",\"Ticket\",\"Ticket\",\"Ticket\",\"Ticket\",\"Ticket\",\"Ticket\",\"Ticket\",\"Ticket\",\"Ticket\",\"Ticket\",\"Ticket\",\"Ticket\",\"Ticket\",\"Ticket\",\"Ticket\",\"Fare\",\"Fare\",\"Fare\",\"Fare\",\"Fare\",\"Fare\",\"Fare\",\"Fare\",\"Fare\",\"Fare\",\"Fare\",\"Fare\",\"Fare\",\"Fare\",\"Fare\",\"Fare\",\"Fare\",\"Fare\",\"Fare\",\"Fare\",\"Fare\",\"Fare\",\"Fare\",\"Fare\",\"Fare\",\"Fare\",\"Fare\",\"Fare\",\"Fare\",\"Fare\",\"Fare\",\"Cabin (77.1%)\",\"Cabin (77.1%)\",\"Cabin (77.1%)\",\"Cabin (77.1%)\",\"Cabin (77.1%)\",\"Cabin (77.1%)\",\"Cabin (77.1%)\",\"Cabin (77.1%)\",\"Cabin (77.1%)\",\"Cabin (77.1%)\",\"Cabin (77.1%)\",\"Cabin (77.1%)\",\"Cabin (77.1%)\",\"Cabin (77.1%)\",\"Cabin (77.1%)\",\"Cabin (77.1%)\",\"Cabin (77.1%)\",\"Cabin (77.1%)\",\"Cabin (77.1%)\",\"Cabin (77.1%)\",\"Cabin (77.1%)\",\"Cabin (77.1%)\",\"Cabin (77.1%)\",\"Cabin (77.1%)\",\"Cabin (77.1%)\",\"Cabin (77.1%)\",\"Cabin (77.1%)\",\"Cabin (77.1%)\",\"Cabin (77.1%)\",\"Cabin (77.1%)\",\"Cabin (77.1%)\",\"Embarked (0.2%)\",\"Embarked (0.2%)\",\"Embarked (0.2%)\",\"Embarked (0.2%)\",\"Embarked (0.2%)\",\"Embarked (0.2%)\",\"Embarked (0.2%)\",\"Embarked (0.2%)\",\"Embarked (0.2%)\",\"Embarked (0.2%)\",\"Embarked (0.2%)\",\"Embarked (0.2%)\",\"Embarked (0.2%)\",\"Embarked (0.2%)\",\"Embarked (0.2%)\",\"Embarked (0.2%)\",\"Embarked (0.2%)\",\"Embarked (0.2%)\",\"Embarked (0.2%)\",\"Embarked (0.2%)\",\"Embarked (0.2%)\",\"Embarked (0.2%)\",\"Embarked (0.2%)\",\"Embarked (0.2%)\",\"Embarked (0.2%)\",\"Embarked (0.2%)\",\"Embarked (0.2%)\",\"Embarked (0.2%)\",\"Embarked (0.2%)\",\"Embarked (0.2%)\",\"Embarked (0.2%)\"],\"index\":[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,220,221,222,223,224,225,226,227,228,229,230,231,232,233,234,235,236,237,238,239,240,241,242,243,244,245,246,247,248,249,250,251,252,253,254,255,256,257,258,259,260,261,262,263,264,265,266,267,268,269,270,271,272,273,274,275,276,277,278,279,280,281,282,283,284,285,286,287,288,289,290,291,292,293,294,295,296,297,298,299,300,301,302,303,304,305,306,307,308,309,310,311,312,313,314,315,316,317,318,319,320,321,322,323,324,325,326,327,328,329,330,331,332,333,334,335,336,337,338,339,340,341,342,343,344,345,346,347,348,349,350,351,352,353,354,355,356,357,358,359,360,361,362,363,364,365,366,367,368,369,370,371],\"loc_end\":[29,58,87,116,145,174,203,232,261,290,319,348,377,406,435,464,493,522,551,580,609,638,667,696,725,754,783,812,841,870,891,29,58,87,116,145,174,203,232,261,290,319,348,377,406,435,464,493,522,551,580,609,638,667,696,725,754,783,812,841,870,891,29,58,87,116,145,174,203,232,261,290,319,348,377,406,435,464,493,522,551,580,609,638,667,696,725,754,783,812,841,870,891,29,58,87,116,145,174,203,232,261,290,319,348,377,406,435,464,493,522,551,580,609,638,667,696,725,754,783,812,841,870,891,29,58,87,116,145,174,203,232,261,290,319,348,377,406,435,464,493,522,551,580,609,638,667,696,725,754,783,812,841,870,891,29,58,87,116,145,174,203,232,261,290,319,348,377,406,435,464,493,522,551,580,609,638,667,696,725,754,783,812,841,870,891,29,58,87,116,145,174,203,232,261,290,319,348,377,406,435,464,493,522,551,580,609,638,667,696,725,754,783,812,841,870,891,29,58,87,116,145,174,203,232,261,290,319,348,377,406,435,464,493,522,551,580,609,638,667,696,725,754,783,812,841,870,891,29,58,87,116,145,174,203,232,261,290,319,348,377,406,435,464,493,522,551,580,609,638,667,696,725,754,783,812,841,870,891,29,58,87,116,145,174,203,232,261,290,319,348,377,406,435,464,493,522,551,580,609,638,667,696,725,754,783,812,841,870,891,29,58,87,116,145,174,203,232,261,290,319,348,377,406,435,464,493,522,551,580,609,638,667,696,725,754,783,812,841,870,891,29,58,87,116,145,174,203,232,261,290,319,348,377,406,435,464,493,522,551,580,609,638,667,696,725,754,783,812,841,870,891],\"loc_start\":[0,29,58,87,116,145,174,203,232,261,290,319,348,377,406,435,464,493,522,551,580,609,638,667,696,725,754,783,812,841,870,0,29,58,87,116,145,174,203,232,261,290,319,348,377,406,435,464,493,522,551,580,609,638,667,696,725,754,783,812,841,870,0,29,58,87,116,145,174,203,232,261,290,319,348,377,406,435,464,493,522,551,580,609,638,667,696,725,754,783,812,841,870,0,29,58,87,116,145,174,203,232,261,290,319,348,377,406,435,464,493,522,551,580,609,638,667,696,725,754,783,812,841,870,0,29,58,87,116,145,174,203,232,261,290,319,348,377,406,435,464,493,522,551,580,609,638,667,696,725,754,783,812,841,870,0,29,58,87,116,145,174,203,232,261,290,319,348,377,406,435,464,493,522,551,580,609,638,667,696,725,754,783,812,841,870,0,29,58,87,116,145,174,203,232,261,290,319,348,377,406,435,464,493,522,551,580,609,638,667,696,725,754,783,812,841,870,0,29,58,87,116,145,174,203,232,261,290,319,348,377,406,435,464,493,522,551,580,609,638,667,696,725,754,783,812,841,870,0,29,58,87,116,145,174,203,232,261,290,319,348,377,406,435,464,493,522,551,580,609,638,667,696,725,754,783,812,841,870,0,29,58,87,116,145,174,203,232,261,290,319,348,377,406,435,464,493,522,551,580,609,638,667,696,725,754,783,812,841,870,0,29,58,87,116,145,174,203,232,261,290,319,348,377,406,435,464,493,522,551,580,609,638,667,696,725,754,783,812,841,870,0,29,58,87,116,145,174,203,232,261,290,319,348,377,406,435,464,493,522,551,580,609,638,667,696,725,754,783,812,841,870],\"location\":{\"__ndarray__\":\"AAAAAAAALUAAAAAAAMBFQAAAAAAAIFJAAAAAAABgWUAAAAAAAFBgQAAAAAAA8GNAAAAAAACQZ0AAAAAAADBrQAAAAAAA0G5AAAAAAAA4cUAAAAAAAAhzQAAAAAAA2HRAAAAAAACodkAAAAAAAHh4QAAAAAAASHpAAAAAAAAYfEAAAAAAAOh9QAAAAAAAuH9AAAAAAADEgEAAAAAAAKyBQAAAAAAAlIJAAAAAAAB8g0AAAAAAAGSEQAAAAAAATIVAAAAAAAA0hkAAAAAAAByHQAAAAAAABIhAAAAAAADsiEAAAAAAANSJQAAAAAAAvIpAAAAAAACki0AAAAAAAAAtQAAAAAAAwEVAAAAAAAAgUkAAAAAAAGBZQAAAAAAAUGBAAAAAAADwY0AAAAAAAJBnQAAAAAAAMGtAAAAAAADQbkAAAAAAADhxQAAAAAAACHNAAAAAAADYdEAAAAAAAKh2QAAAAAAAeHhAAAAAAABIekAAAAAAABh8QAAAAAAA6H1AAAAAAAC4f0AAAAAAAMSAQAAAAAAArIFAAAAAAACUgkAAAAAAAHyDQAAAAAAAZIRAAAAAAABMhUAAAAAAADSGQAAAAAAAHIdAAAAAAAAEiEAAAAAAAOyIQAAAAAAA1IlAAAAAAAC8ikAAAAAAAKSLQAAAAAAAAC1AAAAAAADARUAAAAAAACBSQAAAAAAAYFlAAAAAAABQYEAAAAAAAPBjQAAAAAAAkGdAAAAAAAAwa0AAAAAAANBuQAAAAAAAOHFAAAAAAAAIc0AAAAAAANh0QAAAAAAAqHZAAAAAAAB4eEAAAAAAAEh6QAAAAAAAGHxAAAAAAADofUAAAAAAALh/QAAAAAAAxIBAAAAAAACsgUAAAAAAAJSCQAAAAAAAfINAAAAAAABkhEAAAAAAAEyFQAAAAAAANIZAAAAAAAAch0AAAAAAAASIQAAAAAAA7IhAAAAAAADUiUAAAAAAALyKQAAAAAAApItAAAAAAAAALUAAAAAAAMBFQAAAAAAAIFJAAAAAAABgWUAAAAAAAFBgQAAAAAAA8GNAAAAAAACQZ0AAAAAAADBrQAAAAAAA0G5AAAAAAAA4cUAAAAAAAAhzQAAAAAAA2HRAAAAAAACodkAAAAAAAHh4QAAAAAAASHpAAAAAAAAYfEAAAAAAAOh9QAAAAAAAuH9AAAAAAADEgEAAAAAAAKyBQAAAAAAAlIJAAAAAAAB8g0AAAAAAAGSEQAAAAAAATIVAAAAAAAA0hkAAAAAAAByHQAAAAAAABIhAAAAAAADsiEAAAAAAANSJQAAAAAAAvIpAAAAAAACki0AAAAAAAAAtQAAAAAAAwEVAAAAAAAAgUkAAAAAAAGBZQAAAAAAAUGBAAAAAAADwY0AAAAAAAJBnQAAAAAAAMGtAAAAAAADQbkAAAAAAADhxQAAAAAAACHNAAAAAAADYdEAAAAAAAKh2QAAAAAAAeHhAAAAAAABIekAAAAAAABh8QAAAAAAA6H1AAAAAAAC4f0AAAAAAAMSAQAAAAAAArIFAAAAAAACUgkAAAAAAAHyDQAAAAAAAZIRAAAAAAABMhUAAAAAAADSGQAAAAAAAHIdAAAAAAAAEiEAAAAAAAOyIQAAAAAAA1IlAAAAAAAC8ikAAAAAAAKSLQAAAAAAAAC1AAAAAAADARUAAAAAAACBSQAAAAAAAYFlAAAAAAABQYEAAAAAAAPBjQAAAAAAAkGdAAAAAAAAwa0AAAAAAANBuQAAAAAAAOHFAAAAAAAAIc0AAAAAAANh0QAAAAAAAqHZAAAAAAAB4eEAAAAAAAEh6QAAAAAAAGHxAAAAAAADofUAAAAAAALh/QAAAAAAAxIBAAAAAAACsgUAAAAAAAJSCQAAAAAAAfINAAAAAAABkhEAAAAAAAEyFQAAAAAAANIZAAAAAAAAch0AAAAAAAASIQAAAAAAA7IhAAAAAAADUiUAAAAAAALyKQAAAAAAApItAAAAAAAAALUAAAAAAAMBFQAAAAAAAIFJAAAAAAABgWUAAAAAAAFBgQAAAAAAA8GNAAAAAAACQZ0AAAAAAADBrQAAAAAAA0G5AAAAAAAA4cUAAAAAAAAhzQAAAAAAA2HRAAAAAAACodkAAAAAAAHh4QAAAAAAASHpAAAAAAAAYfEAAAAAAAOh9QAAAAAAAuH9AAAAAAADEgEAAAAAAAKyBQAAAAAAAlIJAAAAAAAB8g0AAAAAAAGSEQAAAAAAATIVAAAAAAAA0hkAAAAAAAByHQAAAAAAABIhAAAAAAADsiEAAAAAAANSJQAAAAAAAvIpAAAAAAACki0AAAAAAAAAtQAAAAAAAwEVAAAAAAAAgUkAAAAAAAGBZQAAAAAAAUGBAAAAAAADwY0AAAAAAAJBnQAAAAAAAMGtAAAAAAADQbkAAAAAAADhxQAAAAAAACHNAAAAAAADYdEAAAAAAAKh2QAAAAAAAeHhAAAAAAABIekAAAAAAABh8QAAAAAAA6H1AAAAAAAC4f0AAAAAAAMSAQAAAAAAArIFAAAAAAACUgkAAAAAAAHyDQAAAAAAAZIRAAAAAAABMhUAAAAAAADSGQAAAAAAAHIdAAAAAAAAEiEAAAAAAAOyIQAAAAAAA1IlAAAAAAAC8ikAAAAAAAKSLQAAAAAAAAC1AAAAAAADARUAAAAAAACBSQAAAAAAAYFlAAAAAAABQYEAAAAAAAPBjQAAAAAAAkGdAAAAAAAAwa0AAAAAAANBuQAAAAAAAOHFAAAAAAAAIc0AAAAAAANh0QAAAAAAAqHZAAAAAAAB4eEAAAAAAAEh6QAAAAAAAGHxAAAAAAADofUAAAAAAALh/QAAAAAAAxIBAAAAAAACsgUAAAAAAAJSCQAAAAAAAfINAAAAAAABkhEAAAAAAAEyFQAAAAAAANIZAAAAAAAAch0AAAAAAAASIQAAAAAAA7IhAAAAAAADUiUAAAAAAALyKQAAAAAAApItAAAAAAAAALUAAAAAAAMBFQAAAAAAAIFJAAAAAAABgWUAAAAAAAFBgQAAAAAAA8GNAAAAAAACQZ0AAAAAAADBrQAAAAAAA0G5AAAAAAAA4cUAAAAAAAAhzQAAAAAAA2HRAAAAAAACodkAAAAAAAHh4QAAAAAAASHpAAAAAAAAYfEAAAAAAAOh9QAAAAAAAuH9AAAAAAADEgEAAAAAAAKyBQAAAAAAAlIJAAAAAAAB8g0AAAAAAAGSEQAAAAAAATIVAAAAAAAA0hkAAAAAAAByHQAAAAAAABIhAAAAAAADsiEAAAAAAANSJQAAAAAAAvIpAAAAAAACki0AAAAAAAAAtQAAAAAAAwEVAAAAAAAAgUkAAAAAAAGBZQAAAAAAAUGBAAAAAAADwY0AAAAAAAJBnQAAAAAAAMGtAAAAAAADQbkAAAAAAADhxQAAAAAAACHNAAAAAAADYdEAAAAAAAKh2QAAAAAAAeHhAAAAAAABIekAAAAAAABh8QAAAAAAA6H1AAAAAAAC4f0AAAAAAAMSAQAAAAAAArIFAAAAAAACUgkAAAAAAAHyDQAAAAAAAZIRAAAAAAABMhUAAAAAAADSGQAAAAAAAHIdAAAAAAAAEiEAAAAAAAOyIQAAAAAAA1IlAAAAAAAC8ikAAAAAAAKSLQAAAAAAAAC1AAAAAAADARUAAAAAAACBSQAAAAAAAYFlAAAAAAABQYEAAAAAAAPBjQAAAAAAAkGdAAAAAAAAwa0AAAAAAANBuQAAAAAAAOHFAAAAAAAAIc0AAAAAAANh0QAAAAAAAqHZAAAAAAAB4eEAAAAAAAEh6QAAAAAAAGHxAAAAAAADofUAAAAAAALh/QAAAAAAAxIBAAAAAAACsgUAAAAAAAJSCQAAAAAAAfINAAAAAAABkhEAAAAAAAEyFQAAAAAAANIZAAAAAAAAch0AAAAAAAASIQAAAAAAA7IhAAAAAAADUiUAAAAAAALyKQAAAAAAApItA\",\"dtype\":\"float64\",\"shape\":[372]},\"missing_rate\":{\"__ndarray__\":\"AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHwaYbmnEcY/fBphuacR1j98GmG5pxHGP3waYbmnEcY/lnsaYbmnwT98GmG5pxHGP5Z7GmG5p9E/YbmnEZZ7uj9huacRlnvKP3waYbmnEcY/R1juaYTlzj98GmG5pxHGP5Z7GmG5p9E/lnsaYbmnsT8Jyz2NsNzTP3waYbmnEcY/lnsaYbmn0T9huacRlnvKP0dY7mmE5c4/lnsaYbmn0T9HWO5phOXOP3waYbmnEcY/YbmnEZZ7yj98GmG5pxHGP5Z7GmG5p8E/fBphuacRxj9huacRlnvKP5Z7GmG5p8E/R1juaYTlzj98GmG5pxHGPxiGYRiGYbg/AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA1wnJPIyznPxphuacRlus/GmG5pxGW6z+oEZZ7GmHpP+5phOWeRug/GmG5pxGW6z/uaYTlnkboP6gRlnsaYek/YbmnEZZ76j/uaYTlnkboP08jLPc0wuI/TyMs9zTC4j9huacRlnvqPxphuacRlus/GmG5pxGW6z/Cck8jLPfkP6gRlnsaYek/NcJyTyMs5z/uaYTlnkboP2G5pxGWe+o/qBGWexph6T/uaYTlnkboP2G5pxGWe+o/qBGWexph6T9PIyz3NMLiPzXCck8jLOc/NcJyTyMs5z9huacRlnvqP6gRlnsaYek/YbmnEZZ76j8YhmEYhmHoPwAAAAAAAAAAAAAAAAAAAACWexphuaehPwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAlnsaYbmnoT8AAAAAAAAAAAAAAAAAAAAA\",\"dtype\":\"float64\",\"shape\":[372]}},\"selected\":{\"id\":\"3708\",\"type\":\"Selection\"},\"selection_policy\":{\"id\":\"3709\",\"type\":\"UnionRenderers\"}},\"id\":\"3696\",\"type\":\"ColumnDataSource\"},{\"attributes\":{},\"id\":\"3682\",\"type\":\"LinearScale\"},{\"attributes\":{\"source\":{\"id\":\"3696\",\"type\":\"ColumnDataSource\"}},\"id\":\"3701\",\"type\":\"CDSView\"},{\"attributes\":{},\"id\":\"3680\",\"type\":\"CategoricalScale\"}],\"root_ids\":[\"3677\"]},\"title\":\"Bokeh Application\",\"version\":\"1.4.0\"}}\n",
       "        </script>\n",
       "        <script type=\"text/javascript\">\n",
       "          (function() {\n",
       "            var fn = function() {\n",
       "              Bokeh.safely(function() {\n",
       "                (function(root) {\n",
       "                  function embed_document(root) {\n",
       "                    \n",
       "                  var docs_json = document.getElementById('3798').textContent;\n",
       "                  var render_items = [{\"docid\":\"191e8cbc-d74a-479b-a2a1-63b23b61ab62\",\"roots\":{\"3677\":\"45a06efb-a1be-473f-bfc3-1b9df5697953\"}}];\n",
       "                  root.Bokeh.embed.embed_items(docs_json, render_items);\n",
       "                \n",
       "                  }\n",
       "                  if (root.Bokeh !== undefined) {\n",
       "                    embed_document(root);\n",
       "                  } else {\n",
       "                    var attempts = 0;\n",
       "                    var timer = setInterval(function(root) {\n",
       "                      if (root.Bokeh !== undefined) {\n",
       "                        clearInterval(timer);\n",
       "                        embed_document(root);\n",
       "                      } else {\n",
       "                        attempts++;\n",
       "                        if (attempts > 100) {\n",
       "                          clearInterval(timer);\n",
       "                          console.log(\"Bokeh: ERROR: Unable to run BokehJS code because BokehJS library is missing\");\n",
       "                        }\n",
       "                      }\n",
       "                    }, 10, root)\n",
       "                  }\n",
       "                })(window);\n",
       "              });\n",
       "            };\n",
       "            if (document.readyState != \"loading\") fn();\n",
       "            else document.addEventListener(\"DOMContentLoaded\", fn);\n",
       "          })();\n",
       "        </script>\n",
       "    \n",
       "  </body>\n",
       "  \n",
       "</html>"
      ],
      "text/plain": [
       "<dataprep.eda.report.Report at 0x1c251c8be0>"
      ]
     },
     "execution_count": 4,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "plot_missing(train_df)"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "plot_missing(df) shows how missing values are distributed in the input data. From the output, we know that the missing value is uniformly distribution among records, and there is no underlaying pattern. Next, we decide how to handle the missing values: should we remove the feature, remove the rows contain missing values, or filling the missing values? We first analyze whether they are correlated to Survived. If they are correlated, then we may do not want to remove the feature. We analyze the correlation between two columns by calling *plot(df, x, y)*."
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 5,
   "metadata": {},
   "outputs": [],
   "source": [
    "for feature in ['Age', 'Cabin', 'Embarked']:\n",
    "    plot(train_df, feature, 'Survived')"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "From the output, we can find that:\n",
    "1. The Age feature is correlated to Survived. Younger people is more likely to be survived.\n",
    "2. The Embarked feature is correlated to survived. Passenger with Embarked = C is more likely to be survived.\n",
    "3. The correlation of Cabin to Survived is unclear, since Cabin contains many missing values (77.1%) and many distinct values (147), hence each distinct value only contains a few useful tuples.\n",
    "\n",
    "Hence, we could safely remove Cabin column. For Age and Embarked feature, we should fill the missing values.\n",
    "\n",
    "**Result: keep Age and Embarked and filling their missing values; remove Cabin.**"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "### 5.2 Pclass, Sex, Fare: features that look related to survived.\n",
    "\n",
    "We then focus on three columns looks related to survived: Pclass, Sex, Fare. It is reasonble to assume that the upper-class passengers (Pclass = 1), the female, and people with high Fare are more likely to be survived. To justify the assumption, we call *plot(df, x, y)* to understand how the three features are realted to survived."
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 6,
   "metadata": {},
   "outputs": [],
   "source": [
    "for feature in ['Pclass', 'Sex', 'Fare']:\n",
    "    plot(train_df, feature, 'Survived')"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "From the above output, we can find that our assumptions are justified. I.e., the upper-class passengers, the female, and people with high Fare are more likely to be survived. We should include the three features in our model.\n",
    "\n",
    "**Result: keep Pclass, Sex and Fare**"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "### 5.3 PassengerId, Name, SibSp, Parch, Ticket: left features\n",
    "\n",
    "We now analyze the left features. \n",
    "\n",
    "*PassengerId*: it is just an id of each passenger, so we could drop it.\n",
    "\n",
    "*Name*: there are many duplicates, and it looks not correlated to survival rate, we may drop it.\n",
    "\n",
    "*Ticket*: it contains many duplicates and looks not correlated to survival rate, we may drop it.\n",
    "\n",
    "*SibSp*: not sure whether it is correlated or not.\n",
    "\n",
    "*Parch*: not sure whether it is correlated or not.\n",
    "\n",
    "Hence, we justify whether *SibSp* and *Parch* are correlated to *Survived*."
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 7,
   "metadata": {},
   "outputs": [],
   "source": [
    "for feature in ['SibSp', 'Parch']:\n",
    "    plot(train_df, feature, 'Survived')"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "From the output, we find that the plot is different for different *Survived*, hence they are correlated, and we will keep them as the feature.\n",
    "\n",
    "**Result: keep SibSp and Parch; remove PassengerId, Name and Ticket**"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "### 5.4 Result\n",
    "After the processing, we now left the following features that are useful to predicat *Survived*: *Age, Embarked, Pclass, Sex, Fare, SibSp and Parch.*"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "## 6. Identify Correlated Features\n",
    "For now, we identified the useful features one by one, and removed the useless features. Altough each feature is useful to predict *Survived*, when we consider them together, we may not want correlated features. Hence, we first identity correlated features. This could be done by simply calling *plot_correlation(df)*."
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 8,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/html": [
       "\n",
       "\n",
       "\n",
       "\n",
       "<!DOCTYPE html>\n",
       "<html lang=\"en\">\n",
       "  \n",
       "  <head>\n",
       "    \n",
       "      <meta charset=\"utf-8\">\n",
       "      <title>Report</title>\n",
       "      \n",
       "      \n",
       "        \n",
       "          \n",
       "        \n",
       "        \n",
       "          \n",
       "        <script type=\"text/javascript\" src=\"https://cdn.pydata.org/bokeh/release/bokeh-1.4.0.min.js\"></script>\n",
       "        <script type=\"text/javascript\">\n",
       "            Bokeh.set_log_level(\"info\");\n",
       "        </script>\n",
       "        \n",
       "      \n",
       "      \n",
       "    \n",
       "  </head>\n",
       "  \n",
       "  \n",
       "  <body>\n",
       "    \n",
       "      \n",
       "        \n",
       "          \n",
       "          \n",
       "            \n",
       "              <div class=\"bk-root\" id=\"2bba635d-7ef7-427d-8dde-1c75176f41f8\" data-root-id=\"4862\"></div>\n",
       "            \n",
       "          \n",
       "        \n",
       "      \n",
       "      \n",
       "        <script type=\"application/json\" id=\"5151\">\n",
       "          {\"d650bf92-b0ec-4e32-86e5-be5802724884\":{\"roots\":{\"references\":[{\"attributes\":{\"callback\":null,\"data\":{\"correlation\":{\"__ndarray__\":\"I7z0aT0NpT/32QrCdlCvv5ewBWG2PFQ/wmRftP6ejL+4+LR1WNvGvzu57sCiSNC/ex/80xECwT8IaA5mB83cP5vblct/ndw/AoDfNqY+2j8=\",\"dtype\":\"float64\",\"shape\":[10]},\"index\":[1,2,3,4,7,8,9,13,14,19],\"x\":[\"PassengerId\",\"PassengerId\",\"PassengerId\",\"PassengerId\",\"Age\",\"Age\",\"Age\",\"SibSp\",\"SibSp\",\"Parch\"],\"y\":[\"Age\",\"SibSp\",\"Parch\",\"Fare\",\"SibSp\",\"Parch\",\"Fare\",\"Parch\",\"Fare\",\"Fare\"]},\"selected\":{\"id\":\"4883\",\"type\":\"Selection\"},\"selection_policy\":{\"id\":\"4884\",\"type\":\"UnionRenderers\"}},\"id\":\"4822\",\"type\":\"ColumnDataSource\"},{\"attributes\":{\"high\":1,\"low\":-1,\"palette\":[\"#053061\",\"#063263\",\"#073466\",\"#083669\",\"#09386c\",\"#0a3a6f\",\"#0b3c72\",\"#0c3e75\",\"#0d4078\",\"#0e437b\",\"#0f457e\",\"#114781\",\"#124984\",\"#134b87\",\"#144d8a\",\"#154f8d\",\"#165190\",\"#175493\",\"#185695\",\"#195898\",\"#1a5a9b\",\"#1c5c9e\",\"#1d5ea1\",\"#1e60a4\",\"#1f62a7\",\"#2064aa\",\"#2166ac\",\"#2368ad\",\"#246aae\",\"#256caf\",\"#276db0\",\"#286fb0\",\"#2971b1\",\"#2b73b2\",\"#2c75b3\",\"#2d76b4\",\"#2f78b5\",\"#307ab6\",\"#317cb7\",\"#337db8\",\"#347fb9\",\"#3581b9\",\"#3783ba\",\"#3884bb\",\"#3986bc\",\"#3b88bd\",\"#3c8abe\",\"#3d8bbf\",\"#3f8dc0\",\"#408fc1\",\"#4191c2\",\"#4393c3\",\"#4694c4\",\"#4996c5\",\"#4c98c6\",\"#4f9ac7\",\"#529cc8\",\"#559ec9\",\"#58a0ca\",\"#5ba2cb\",\"#5ea4cc\",\"#61a6cd\",\"#65a8ce\",\"#68aacf\",\"#6bacd0\",\"#6eaed1\",\"#71b0d2\",\"#74b2d3\",\"#77b4d5\",\"#7ab6d6\",\"#7db8d7\",\"#80bad8\",\"#84bcd9\",\"#87beda\",\"#8ac0db\",\"#8dc2dc\",\"#90c4dd\",\"#93c5de\",\"#95c6df\",\"#98c8df\",\"#9ac9e0\",\"#9dcae1\",\"#9fcbe1\",\"#a2cde2\",\"#a4cee3\",\"#a7cfe4\",\"#a9d0e4\",\"#abd2e5\",\"#aed3e6\",\"#b0d4e6\",\"#b3d5e7\",\"#b5d7e8\",\"#b8d8e8\",\"#bad9e9\",\"#bddaea\",\"#bfdceb\",\"#c2ddeb\",\"#c4deec\",\"#c7dfed\",\"#c9e1ed\",\"#cce2ee\",\"#cee3ef\",\"#d1e5f0\",\"#d2e5f0\",\"#d3e6f0\",\"#d5e7f0\",\"#d6e7f1\",\"#d8e8f1\",\"#d9e9f1\",\"#dbe9f1\",\"#dceaf2\",\"#deebf2\",\"#dfecf2\",\"#e1ecf3\",\"#e2edf3\",\"#e4eef3\",\"#e5eef3\",\"#e7eff4\",\"#e8f0f4\",\"#eaf1f4\",\"#ebf1f4\",\"#edf2f5\",\"#eef3f5\",\"#f0f3f5\",\"#f1f4f6\",\"#f3f5f6\",\"#f4f5f6\",\"#f6f6f6\",\"#f7f6f6\",\"#f7f5f4\",\"#f7f4f2\",\"#f7f3f0\",\"#f8f2ee\",\"#f8f0ec\",\"#f8efea\",\"#f8eee8\",\"#f9ede7\",\"#f9ece5\",\"#f9ebe3\",\"#f9eae1\",\"#f9e9df\",\"#fae8dd\",\"#fae7db\",\"#fae5d9\",\"#fae4d7\",\"#fbe3d6\",\"#fbe2d4\",\"#fbe1d2\",\"#fbe0d0\",\"#fcdfce\",\"#fcdecc\",\"#fcddca\",\"#fcdcc8\",\"#fddbc7\",\"#fcd8c4\",\"#fcd6c1\",\"#fbd4be\",\"#fbd2bc\",\"#fbd0b9\",\"#faceb6\",\"#faccb4\",\"#facab1\",\"#f9c7ae\",\"#f9c5ab\",\"#f9c3a9\",\"#f8c1a6\",\"#f8bfa3\",\"#f8bda1\",\"#f7bb9e\",\"#f7b99b\",\"#f7b698\",\"#f6b496\",\"#f6b293\",\"#f5b090\",\"#f5ae8e\",\"#f5ac8b\",\"#f4aa88\",\"#f4a886\",\"#f4a683\",\"#f3a380\",\"#f2a07e\",\"#f19e7c\",\"#ef9b7a\",\"#ee9878\",\"#ed9676\",\"#ec9374\",\"#eb9072\",\"#ea8d70\",\"#e88b6e\",\"#e7886c\",\"#e6856a\",\"#e58368\",\"#e48065\",\"#e27d63\",\"#e17b61\",\"#e0785f\",\"#df755d\",\"#de725b\",\"#dd7059\",\"#db6d57\",\"#da6a55\",\"#d96853\",\"#d86551\",\"#d7624f\",\"#d6604d\",\"#d45d4b\",\"#d35a4a\",\"#d15749\",\"#d05447\",\"#ce5146\",\"#cd4f44\",\"#cc4c43\",\"#ca4942\",\"#c94641\",\"#c7433f\",\"#c6403e\",\"#c53e3c\",\"#c33b3b\",\"#c2383a\",\"#c03538\",\"#bf3237\",\"#be3036\",\"#bc2d34\",\"#bb2a33\",\"#b92732\",\"#b82431\",\"#b6212f\",\"#b51f2e\",\"#b41c2d\",\"#b2192b\",\"#b0172a\",\"#ad162a\",\"#aa1529\",\"#a71429\",\"#a41328\",\"#a11228\",\"#9e1127\",\"#9b1027\",\"#991027\",\"#960f26\",\"#930e26\",\"#900d25\",\"#8d0c25\",\"#8a0b24\",\"#870a24\",\"#840923\",\"#810823\",\"#7e0722\",\"#7b0622\",\"#780521\",\"#750421\",\"#720320\",\"#6f0220\",\"#6c011f\",\"#69001f\",\"#67001f\"]},\"id\":\"4796\",\"type\":\"LinearColorMapper\"},{\"attributes\":{\"dimension\":1,\"grid_line_color\":null,\"ticker\":{\"id\":\"4783\",\"type\":\"CategoricalTicker\"}},\"id\":\"4785\",\"type\":\"Grid\"},{\"attributes\":{},\"id\":\"4830\",\"type\":\"BasicTicker\"},{\"attributes\":{},\"id\":\"4849\",\"type\":\"CategoricalTicker\"},{\"attributes\":{\"background_fill_color\":{\"value\":\"#fafafa\"},\"below\":[{\"id\":\"4844\",\"type\":\"CategoricalAxis\"}],\"center\":[{\"id\":\"4847\",\"type\":\"Grid\"},{\"id\":\"4851\",\"type\":\"Grid\"}],\"left\":[{\"id\":\"4848\",\"type\":\"CategoricalAxis\"}],\"plot_height\":500,\"plot_width\":500,\"renderers\":[{\"id\":\"4859\",\"type\":\"GlyphRenderer\"}],\"right\":[{\"id\":\"4832\",\"type\":\"ColorBar\"}],\"title\":{\"id\":\"4867\",\"type\":\"Title\"},\"toolbar\":{\"id\":\"4853\",\"type\":\"Toolbar\"},\"toolbar_location\":null,\"x_range\":{\"id\":\"4835\",\"type\":\"FactorRange\"},\"x_scale\":{\"id\":\"4840\",\"type\":\"CategoricalScale\"},\"y_range\":{\"id\":\"4836\",\"type\":\"FactorRange\"},\"y_scale\":{\"id\":\"4842\",\"type\":\"CategoricalScale\"}},\"id\":\"4837\",\"subtype\":\"Figure\",\"type\":\"Plot\"},{\"attributes\":{\"text\":\"\"},\"id\":\"4865\",\"type\":\"Title\"},{\"attributes\":{\"high\":1,\"low\":-1,\"palette\":[\"#053061\",\"#063263\",\"#073466\",\"#083669\",\"#09386c\",\"#0a3a6f\",\"#0b3c72\",\"#0c3e75\",\"#0d4078\",\"#0e437b\",\"#0f457e\",\"#114781\",\"#124984\",\"#134b87\",\"#144d8a\",\"#154f8d\",\"#165190\",\"#175493\",\"#185695\",\"#195898\",\"#1a5a9b\",\"#1c5c9e\",\"#1d5ea1\",\"#1e60a4\",\"#1f62a7\",\"#2064aa\",\"#2166ac\",\"#2368ad\",\"#246aae\",\"#256caf\",\"#276db0\",\"#286fb0\",\"#2971b1\",\"#2b73b2\",\"#2c75b3\",\"#2d76b4\",\"#2f78b5\",\"#307ab6\",\"#317cb7\",\"#337db8\",\"#347fb9\",\"#3581b9\",\"#3783ba\",\"#3884bb\",\"#3986bc\",\"#3b88bd\",\"#3c8abe\",\"#3d8bbf\",\"#3f8dc0\",\"#408fc1\",\"#4191c2\",\"#4393c3\",\"#4694c4\",\"#4996c5\",\"#4c98c6\",\"#4f9ac7\",\"#529cc8\",\"#559ec9\",\"#58a0ca\",\"#5ba2cb\",\"#5ea4cc\",\"#61a6cd\",\"#65a8ce\",\"#68aacf\",\"#6bacd0\",\"#6eaed1\",\"#71b0d2\",\"#74b2d3\",\"#77b4d5\",\"#7ab6d6\",\"#7db8d7\",\"#80bad8\",\"#84bcd9\",\"#87beda\",\"#8ac0db\",\"#8dc2dc\",\"#90c4dd\",\"#93c5de\",\"#95c6df\",\"#98c8df\",\"#9ac9e0\",\"#9dcae1\",\"#9fcbe1\",\"#a2cde2\",\"#a4cee3\",\"#a7cfe4\",\"#a9d0e4\",\"#abd2e5\",\"#aed3e6\",\"#b0d4e6\",\"#b3d5e7\",\"#b5d7e8\",\"#b8d8e8\",\"#bad9e9\",\"#bddaea\",\"#bfdceb\",\"#c2ddeb\",\"#c4deec\",\"#c7dfed\",\"#c9e1ed\",\"#cce2ee\",\"#cee3ef\",\"#d1e5f0\",\"#d2e5f0\",\"#d3e6f0\",\"#d5e7f0\",\"#d6e7f1\",\"#d8e8f1\",\"#d9e9f1\",\"#dbe9f1\",\"#dceaf2\",\"#deebf2\",\"#dfecf2\",\"#e1ecf3\",\"#e2edf3\",\"#e4eef3\",\"#e5eef3\",\"#e7eff4\",\"#e8f0f4\",\"#eaf1f4\",\"#ebf1f4\",\"#edf2f5\",\"#eef3f5\",\"#f0f3f5\",\"#f1f4f6\",\"#f3f5f6\",\"#f4f5f6\",\"#f6f6f6\",\"#f7f6f6\",\"#f7f5f4\",\"#f7f4f2\",\"#f7f3f0\",\"#f8f2ee\",\"#f8f0ec\",\"#f8efea\",\"#f8eee8\",\"#f9ede7\",\"#f9ece5\",\"#f9ebe3\",\"#f9eae1\",\"#f9e9df\",\"#fae8dd\",\"#fae7db\",\"#fae5d9\",\"#fae4d7\",\"#fbe3d6\",\"#fbe2d4\",\"#fbe1d2\",\"#fbe0d0\",\"#fcdfce\",\"#fcdecc\",\"#fcddca\",\"#fcdcc8\",\"#fddbc7\",\"#fcd8c4\",\"#fcd6c1\",\"#fbd4be\",\"#fbd2bc\",\"#fbd0b9\",\"#faceb6\",\"#faccb4\",\"#facab1\",\"#f9c7ae\",\"#f9c5ab\",\"#f9c3a9\",\"#f8c1a6\",\"#f8bfa3\",\"#f8bda1\",\"#f7bb9e\",\"#f7b99b\",\"#f7b698\",\"#f6b496\",\"#f6b293\",\"#f5b090\",\"#f5ae8e\",\"#f5ac8b\",\"#f4aa88\",\"#f4a886\",\"#f4a683\",\"#f3a380\",\"#f2a07e\",\"#f19e7c\",\"#ef9b7a\",\"#ee9878\",\"#ed9676\",\"#ec9374\",\"#eb9072\",\"#ea8d70\",\"#e88b6e\",\"#e7886c\",\"#e6856a\",\"#e58368\",\"#e48065\",\"#e27d63\",\"#e17b61\",\"#e0785f\",\"#df755d\",\"#de725b\",\"#dd7059\",\"#db6d57\",\"#da6a55\",\"#d96853\",\"#d86551\",\"#d7624f\",\"#d6604d\",\"#d45d4b\",\"#d35a4a\",\"#d15749\",\"#d05447\",\"#ce5146\",\"#cd4f44\",\"#cc4c43\",\"#ca4942\",\"#c94641\",\"#c7433f\",\"#c6403e\",\"#c53e3c\",\"#c33b3b\",\"#c2383a\",\"#c03538\",\"#bf3237\",\"#be3036\",\"#bc2d34\",\"#bb2a33\",\"#b92732\",\"#b82431\",\"#b6212f\",\"#b51f2e\",\"#b41c2d\",\"#b2192b\",\"#b0172a\",\"#ad162a\",\"#aa1529\",\"#a71429\",\"#a41328\",\"#a11228\",\"#9e1127\",\"#9b1027\",\"#991027\",\"#960f26\",\"#930e26\",\"#900d25\",\"#8d0c25\",\"#8a0b24\",\"#870a24\",\"#840923\",\"#810823\",\"#7e0722\",\"#7b0622\",\"#780521\",\"#750421\",\"#720320\",\"#6f0220\",\"#6c011f\",\"#69001f\",\"#67001f\"]},\"id\":\"4763\",\"type\":\"LinearColorMapper\"},{\"attributes\":{\"callback\":null,\"factors\":[\"Fare\",\"Parch\",\"SibSp\",\"Age\",\"PassengerId\"]},\"id\":\"4836\",\"type\":\"FactorRange\"},{\"attributes\":{\"dimension\":1,\"grid_line_color\":null,\"ticker\":{\"id\":\"4849\",\"type\":\"CategoricalTicker\"}},\"id\":\"4851\",\"type\":\"Grid\"},{\"attributes\":{},\"id\":\"4886\",\"type\":\"UnionRenderers\"},{\"attributes\":{},\"id\":\"4845\",\"type\":\"CategoricalTicker\"},{\"attributes\":{},\"id\":\"4807\",\"type\":\"CategoricalScale\"},{\"attributes\":{\"axis_line_color\":{\"value\":null},\"formatter\":{\"id\":\"4873\",\"type\":\"CategoricalTickFormatter\"},\"major_label_orientation\":1.0471975511965976,\"major_label_standoff\":0,\"major_label_text_font_size\":{\"value\":\"9pt\"},\"major_tick_line_color\":{\"value\":null},\"ticker\":{\"id\":\"4812\",\"type\":\"CategoricalTicker\"}},\"id\":\"4811\",\"type\":\"CategoricalAxis\"},{\"attributes\":{},\"id\":\"4816\",\"type\":\"CategoricalTicker\"},{\"attributes\":{\"callback\":null,\"tooltips\":[[\"x\",\"@x\"],[\"y\",\"@y\"],[\"correlation\",\"@correlation{1.11}\"]]},\"id\":\"4852\",\"type\":\"HoverTool\"},{\"attributes\":{},\"id\":\"4869\",\"type\":\"CategoricalTickFormatter\"},{\"attributes\":{\"data_source\":{\"id\":\"4822\",\"type\":\"ColumnDataSource\"},\"glyph\":{\"id\":\"4824\",\"type\":\"Rect\"},\"hover_glyph\":null,\"muted_glyph\":null,\"nonselection_glyph\":{\"id\":\"4825\",\"type\":\"Rect\"},\"selection_glyph\":null,\"view\":{\"id\":\"4827\",\"type\":\"CDSView\"}},\"id\":\"4826\",\"type\":\"GlyphRenderer\"},{\"attributes\":{\"child\":{\"id\":\"4804\",\"subtype\":\"Figure\",\"type\":\"Plot\"},\"title\":\"Spearman\"},\"id\":\"4828\",\"type\":\"Panel\"},{\"attributes\":{\"active_drag\":\"auto\",\"active_inspect\":\"auto\",\"active_multi\":null,\"active_scroll\":\"auto\",\"active_tap\":\"auto\",\"tools\":[{\"id\":\"4786\",\"type\":\"HoverTool\"}]},\"id\":\"4787\",\"type\":\"Toolbar\"},{\"attributes\":{},\"id\":\"4809\",\"type\":\"CategoricalScale\"},{\"attributes\":{},\"id\":\"4881\",\"type\":\"Selection\"},{\"attributes\":{\"fill_alpha\":{\"value\":0.1},\"fill_color\":{\"value\":\"#1f77b4\"},\"height\":{\"units\":\"data\",\"value\":1},\"line_alpha\":{\"value\":0.1},\"line_color\":{\"value\":\"#1f77b4\"},\"width\":{\"units\":\"data\",\"value\":1},\"x\":{\"field\":\"x\"},\"y\":{\"field\":\"y\"}},\"id\":\"4792\",\"type\":\"Rect\"},{\"attributes\":{\"fill_alpha\":{\"value\":0.1},\"fill_color\":{\"value\":\"#1f77b4\"},\"height\":{\"units\":\"data\",\"value\":1},\"line_alpha\":{\"value\":0.1},\"line_color\":{\"value\":\"#1f77b4\"},\"width\":{\"units\":\"data\",\"value\":1},\"x\":{\"field\":\"x\"},\"y\":{\"field\":\"y\"}},\"id\":\"4825\",\"type\":\"Rect\"},{\"attributes\":{\"callback\":null,\"factors\":[\"Fare\",\"Parch\",\"SibSp\",\"Age\",\"PassengerId\"]},\"id\":\"4803\",\"type\":\"FactorRange\"},{\"attributes\":{},\"id\":\"4842\",\"type\":\"CategoricalScale\"},{\"attributes\":{\"callback\":null,\"tooltips\":[[\"x\",\"@x\"],[\"y\",\"@y\"],[\"correlation\",\"@correlation{1.11}\"]]},\"id\":\"4819\",\"type\":\"HoverTool\"},{\"attributes\":{},\"id\":\"4774\",\"type\":\"CategoricalScale\"},{\"attributes\":{},\"id\":\"4873\",\"type\":\"CategoricalTickFormatter\"},{\"attributes\":{\"format\":\"%.2f\"},\"id\":\"4765\",\"type\":\"PrintfTickFormatter\"},{\"attributes\":{\"active_drag\":\"auto\",\"active_inspect\":\"auto\",\"active_multi\":null,\"active_scroll\":\"auto\",\"active_tap\":\"auto\",\"tools\":[{\"id\":\"4819\",\"type\":\"HoverTool\"}]},\"id\":\"4820\",\"type\":\"Toolbar\"},{\"attributes\":{\"source\":{\"id\":\"4822\",\"type\":\"ColumnDataSource\"}},\"id\":\"4827\",\"type\":\"CDSView\"},{\"attributes\":{},\"id\":\"4812\",\"type\":\"CategoricalTicker\"},{\"attributes\":{},\"id\":\"4764\",\"type\":\"BasicTicker\"},{\"attributes\":{\"fill_alpha\":{\"value\":0.1},\"fill_color\":{\"value\":\"#1f77b4\"},\"height\":{\"units\":\"data\",\"value\":1},\"line_alpha\":{\"value\":0.1},\"line_color\":{\"value\":\"#1f77b4\"},\"width\":{\"units\":\"data\",\"value\":1},\"x\":{\"field\":\"x\"},\"y\":{\"field\":\"y\"}},\"id\":\"4858\",\"type\":\"Rect\"},{\"attributes\":{},\"id\":\"4882\",\"type\":\"UnionRenderers\"},{\"attributes\":{\"child\":{\"id\":\"4837\",\"subtype\":\"Figure\",\"type\":\"Plot\"},\"title\":\"KendallTau\"},\"id\":\"4861\",\"type\":\"Panel\"},{\"attributes\":{\"data_source\":{\"id\":\"4789\",\"type\":\"ColumnDataSource\"},\"glyph\":{\"id\":\"4791\",\"type\":\"Rect\"},\"hover_glyph\":null,\"muted_glyph\":null,\"nonselection_glyph\":{\"id\":\"4792\",\"type\":\"Rect\"},\"selection_glyph\":null,\"view\":{\"id\":\"4794\",\"type\":\"CDSView\"}},\"id\":\"4793\",\"type\":\"GlyphRenderer\"},{\"attributes\":{\"child\":{\"id\":\"4771\",\"subtype\":\"Figure\",\"type\":\"Plot\"},\"title\":\"Pearson\"},\"id\":\"4795\",\"type\":\"Panel\"},{\"attributes\":{\"text\":\"\"},\"id\":\"4863\",\"type\":\"Title\"},{\"attributes\":{\"background_fill_color\":{\"value\":\"#fafafa\"},\"below\":[{\"id\":\"4811\",\"type\":\"CategoricalAxis\"}],\"center\":[{\"id\":\"4814\",\"type\":\"Grid\"},{\"id\":\"4818\",\"type\":\"Grid\"}],\"left\":[{\"id\":\"4815\",\"type\":\"CategoricalAxis\"}],\"plot_height\":500,\"plot_width\":500,\"renderers\":[{\"id\":\"4826\",\"type\":\"GlyphRenderer\"}],\"right\":[{\"id\":\"4799\",\"type\":\"ColorBar\"}],\"title\":{\"id\":\"4865\",\"type\":\"Title\"},\"toolbar\":{\"id\":\"4820\",\"type\":\"Toolbar\"},\"toolbar_location\":null,\"x_range\":{\"id\":\"4802\",\"type\":\"FactorRange\"},\"x_scale\":{\"id\":\"4807\",\"type\":\"CategoricalScale\"},\"y_range\":{\"id\":\"4803\",\"type\":\"FactorRange\"},\"y_scale\":{\"id\":\"4809\",\"type\":\"CategoricalScale\"}},\"id\":\"4804\",\"subtype\":\"Figure\",\"type\":\"Plot\"},{\"attributes\":{},\"id\":\"4884\",\"type\":\"UnionRenderers\"},{\"attributes\":{\"text\":\"\"},\"id\":\"4867\",\"type\":\"Title\"},{\"attributes\":{\"high\":1,\"low\":-1,\"palette\":[\"#053061\",\"#063263\",\"#073466\",\"#083669\",\"#09386c\",\"#0a3a6f\",\"#0b3c72\",\"#0c3e75\",\"#0d4078\",\"#0e437b\",\"#0f457e\",\"#114781\",\"#124984\",\"#134b87\",\"#144d8a\",\"#154f8d\",\"#165190\",\"#175493\",\"#185695\",\"#195898\",\"#1a5a9b\",\"#1c5c9e\",\"#1d5ea1\",\"#1e60a4\",\"#1f62a7\",\"#2064aa\",\"#2166ac\",\"#2368ad\",\"#246aae\",\"#256caf\",\"#276db0\",\"#286fb0\",\"#2971b1\",\"#2b73b2\",\"#2c75b3\",\"#2d76b4\",\"#2f78b5\",\"#307ab6\",\"#317cb7\",\"#337db8\",\"#347fb9\",\"#3581b9\",\"#3783ba\",\"#3884bb\",\"#3986bc\",\"#3b88bd\",\"#3c8abe\",\"#3d8bbf\",\"#3f8dc0\",\"#408fc1\",\"#4191c2\",\"#4393c3\",\"#4694c4\",\"#4996c5\",\"#4c98c6\",\"#4f9ac7\",\"#529cc8\",\"#559ec9\",\"#58a0ca\",\"#5ba2cb\",\"#5ea4cc\",\"#61a6cd\",\"#65a8ce\",\"#68aacf\",\"#6bacd0\",\"#6eaed1\",\"#71b0d2\",\"#74b2d3\",\"#77b4d5\",\"#7ab6d6\",\"#7db8d7\",\"#80bad8\",\"#84bcd9\",\"#87beda\",\"#8ac0db\",\"#8dc2dc\",\"#90c4dd\",\"#93c5de\",\"#95c6df\",\"#98c8df\",\"#9ac9e0\",\"#9dcae1\",\"#9fcbe1\",\"#a2cde2\",\"#a4cee3\",\"#a7cfe4\",\"#a9d0e4\",\"#abd2e5\",\"#aed3e6\",\"#b0d4e6\",\"#b3d5e7\",\"#b5d7e8\",\"#b8d8e8\",\"#bad9e9\",\"#bddaea\",\"#bfdceb\",\"#c2ddeb\",\"#c4deec\",\"#c7dfed\",\"#c9e1ed\",\"#cce2ee\",\"#cee3ef\",\"#d1e5f0\",\"#d2e5f0\",\"#d3e6f0\",\"#d5e7f0\",\"#d6e7f1\",\"#d8e8f1\",\"#d9e9f1\",\"#dbe9f1\",\"#dceaf2\",\"#deebf2\",\"#dfecf2\",\"#e1ecf3\",\"#e2edf3\",\"#e4eef3\",\"#e5eef3\",\"#e7eff4\",\"#e8f0f4\",\"#eaf1f4\",\"#ebf1f4\",\"#edf2f5\",\"#eef3f5\",\"#f0f3f5\",\"#f1f4f6\",\"#f3f5f6\",\"#f4f5f6\",\"#f6f6f6\",\"#f7f6f6\",\"#f7f5f4\",\"#f7f4f2\",\"#f7f3f0\",\"#f8f2ee\",\"#f8f0ec\",\"#f8efea\",\"#f8eee8\",\"#f9ede7\",\"#f9ece5\",\"#f9ebe3\",\"#f9eae1\",\"#f9e9df\",\"#fae8dd\",\"#fae7db\",\"#fae5d9\",\"#fae4d7\",\"#fbe3d6\",\"#fbe2d4\",\"#fbe1d2\",\"#fbe0d0\",\"#fcdfce\",\"#fcdecc\",\"#fcddca\",\"#fcdcc8\",\"#fddbc7\",\"#fcd8c4\",\"#fcd6c1\",\"#fbd4be\",\"#fbd2bc\",\"#fbd0b9\",\"#faceb6\",\"#faccb4\",\"#facab1\",\"#f9c7ae\",\"#f9c5ab\",\"#f9c3a9\",\"#f8c1a6\",\"#f8bfa3\",\"#f8bda1\",\"#f7bb9e\",\"#f7b99b\",\"#f7b698\",\"#f6b496\",\"#f6b293\",\"#f5b090\",\"#f5ae8e\",\"#f5ac8b\",\"#f4aa88\",\"#f4a886\",\"#f4a683\",\"#f3a380\",\"#f2a07e\",\"#f19e7c\",\"#ef9b7a\",\"#ee9878\",\"#ed9676\",\"#ec9374\",\"#eb9072\",\"#ea8d70\",\"#e88b6e\",\"#e7886c\",\"#e6856a\",\"#e58368\",\"#e48065\",\"#e27d63\",\"#e17b61\",\"#e0785f\",\"#df755d\",\"#de725b\",\"#dd7059\",\"#db6d57\",\"#da6a55\",\"#d96853\",\"#d86551\",\"#d7624f\",\"#d6604d\",\"#d45d4b\",\"#d35a4a\",\"#d15749\",\"#d05447\",\"#ce5146\",\"#cd4f44\",\"#cc4c43\",\"#ca4942\",\"#c94641\",\"#c7433f\",\"#c6403e\",\"#c53e3c\",\"#c33b3b\",\"#c2383a\",\"#c03538\",\"#bf3237\",\"#be3036\",\"#bc2d34\",\"#bb2a33\",\"#b92732\",\"#b82431\",\"#b6212f\",\"#b51f2e\",\"#b41c2d\",\"#b2192b\",\"#b0172a\",\"#ad162a\",\"#aa1529\",\"#a71429\",\"#a41328\",\"#a11228\",\"#9e1127\",\"#9b1027\",\"#991027\",\"#960f26\",\"#930e26\",\"#900d25\",\"#8d0c25\",\"#8a0b24\",\"#870a24\",\"#840923\",\"#810823\",\"#7e0722\",\"#7b0622\",\"#780521\",\"#750421\",\"#720320\",\"#6f0220\",\"#6c011f\",\"#69001f\",\"#67001f\"]},\"id\":\"4829\",\"type\":\"LinearColorMapper\"},{\"attributes\":{\"axis_line_color\":{\"value\":null},\"formatter\":{\"id\":\"4871\",\"type\":\"CategoricalTickFormatter\"},\"major_label_standoff\":0,\"major_label_text_font_size\":{\"value\":\"9pt\"},\"major_tick_line_color\":{\"value\":null},\"ticker\":{\"id\":\"4783\",\"type\":\"CategoricalTicker\"}},\"id\":\"4782\",\"type\":\"CategoricalAxis\"},{\"attributes\":{\"source\":{\"id\":\"4855\",\"type\":\"ColumnDataSource\"}},\"id\":\"4860\",\"type\":\"CDSView\"},{\"attributes\":{},\"id\":\"4883\",\"type\":\"Selection\"},{\"attributes\":{\"active_drag\":\"auto\",\"active_inspect\":\"auto\",\"active_multi\":null,\"active_scroll\":\"auto\",\"active_tap\":\"auto\",\"tools\":[{\"id\":\"4852\",\"type\":\"HoverTool\"}]},\"id\":\"4853\",\"type\":\"Toolbar\"},{\"attributes\":{\"callback\":null,\"factors\":[\"PassengerId\",\"Age\",\"SibSp\",\"Parch\",\"Fare\"]},\"id\":\"4802\",\"type\":\"FactorRange\"},{\"attributes\":{\"callback\":null,\"data\":{\"correlation\":{\"__ndarray__\":\"YPyGy6Ldoj/oQn47KHStv/E/gc8KEVu/wUfsbo3siT/XNCudULrTv0csBlwPNci//Adio9OXuD+vLC5rs4zaP5epvwRyb8Q/9VYvTUKtyz8=\",\"dtype\":\"float64\",\"shape\":[10]},\"index\":[1,2,3,4,7,8,9,13,14,19],\"x\":[\"PassengerId\",\"PassengerId\",\"PassengerId\",\"PassengerId\",\"Age\",\"Age\",\"Age\",\"SibSp\",\"SibSp\",\"Parch\"],\"y\":[\"Age\",\"SibSp\",\"Parch\",\"Fare\",\"SibSp\",\"Parch\",\"Fare\",\"Parch\",\"Fare\",\"Fare\"]},\"selected\":{\"id\":\"4881\",\"type\":\"Selection\"},\"selection_policy\":{\"id\":\"4882\",\"type\":\"UnionRenderers\"}},\"id\":\"4789\",\"type\":\"ColumnDataSource\"},{\"attributes\":{},\"id\":\"4840\",\"type\":\"CategoricalScale\"},{\"attributes\":{\"callback\":null,\"factors\":[\"Fare\",\"Parch\",\"SibSp\",\"Age\",\"PassengerId\"]},\"id\":\"4770\",\"type\":\"FactorRange\"},{\"attributes\":{\"callback\":null,\"tooltips\":[[\"x\",\"@x\"],[\"y\",\"@y\"],[\"correlation\",\"@correlation{1.11}\"]]},\"id\":\"4786\",\"type\":\"HoverTool\"},{\"attributes\":{\"axis_line_color\":{\"value\":null},\"formatter\":{\"id\":\"4869\",\"type\":\"CategoricalTickFormatter\"},\"major_label_orientation\":1.0471975511965976,\"major_label_standoff\":0,\"major_label_text_font_size\":{\"value\":\"9pt\"},\"major_tick_line_color\":{\"value\":null},\"ticker\":{\"id\":\"4779\",\"type\":\"CategoricalTicker\"}},\"id\":\"4778\",\"type\":\"CategoricalAxis\"},{\"attributes\":{},\"id\":\"4871\",\"type\":\"CategoricalTickFormatter\"},{\"attributes\":{\"color_mapper\":{\"id\":\"4763\",\"type\":\"LinearColorMapper\"},\"formatter\":{\"id\":\"4765\",\"type\":\"PrintfTickFormatter\"},\"label_standoff\":6,\"location\":[0,0],\"major_label_text_font_size\":{\"value\":\"8pt\"},\"ticker\":{\"id\":\"4764\",\"type\":\"BasicTicker\"}},\"id\":\"4766\",\"type\":\"ColorBar\"},{\"attributes\":{\"callback\":null,\"factors\":[\"PassengerId\",\"Age\",\"SibSp\",\"Parch\",\"Fare\"]},\"id\":\"4835\",\"type\":\"FactorRange\"},{\"attributes\":{\"axis_line_color\":{\"value\":null},\"formatter\":{\"id\":\"4877\",\"type\":\"CategoricalTickFormatter\"},\"major_label_orientation\":1.0471975511965976,\"major_label_standoff\":0,\"major_label_text_font_size\":{\"value\":\"9pt\"},\"major_tick_line_color\":{\"value\":null},\"ticker\":{\"id\":\"4845\",\"type\":\"CategoricalTicker\"}},\"id\":\"4844\",\"type\":\"CategoricalAxis\"},{\"attributes\":{},\"id\":\"4783\",\"type\":\"CategoricalTicker\"},{\"attributes\":{\"fill_color\":{\"field\":\"correlation\",\"transform\":{\"id\":\"4829\",\"type\":\"LinearColorMapper\"}},\"height\":{\"units\":\"data\",\"value\":1},\"line_color\":{\"value\":null},\"width\":{\"units\":\"data\",\"value\":1},\"x\":{\"field\":\"x\"},\"y\":{\"field\":\"y\"}},\"id\":\"4857\",\"type\":\"Rect\"},{\"attributes\":{\"background_fill_color\":{\"value\":\"#fafafa\"},\"below\":[{\"id\":\"4778\",\"type\":\"CategoricalAxis\"}],\"center\":[{\"id\":\"4781\",\"type\":\"Grid\"},{\"id\":\"4785\",\"type\":\"Grid\"}],\"left\":[{\"id\":\"4782\",\"type\":\"CategoricalAxis\"}],\"plot_height\":500,\"plot_width\":500,\"renderers\":[{\"id\":\"4793\",\"type\":\"GlyphRenderer\"}],\"right\":[{\"id\":\"4766\",\"type\":\"ColorBar\"}],\"title\":{\"id\":\"4863\",\"type\":\"Title\"},\"toolbar\":{\"id\":\"4787\",\"type\":\"Toolbar\"},\"toolbar_location\":null,\"x_range\":{\"id\":\"4769\",\"type\":\"FactorRange\"},\"x_scale\":{\"id\":\"4774\",\"type\":\"CategoricalScale\"},\"y_range\":{\"id\":\"4770\",\"type\":\"FactorRange\"},\"y_scale\":{\"id\":\"4776\",\"type\":\"CategoricalScale\"}},\"id\":\"4771\",\"subtype\":\"Figure\",\"type\":\"Plot\"},{\"attributes\":{\"grid_line_color\":null,\"ticker\":{\"id\":\"4779\",\"type\":\"CategoricalTicker\"}},\"id\":\"4781\",\"type\":\"Grid\"},{\"attributes\":{\"color_mapper\":{\"id\":\"4796\",\"type\":\"LinearColorMapper\"},\"formatter\":{\"id\":\"4798\",\"type\":\"PrintfTickFormatter\"},\"label_standoff\":6,\"location\":[0,0],\"major_label_text_font_size\":{\"value\":\"8pt\"},\"ticker\":{\"id\":\"4797\",\"type\":\"BasicTicker\"}},\"id\":\"4799\",\"type\":\"ColorBar\"},{\"attributes\":{\"fill_color\":{\"field\":\"correlation\",\"transform\":{\"id\":\"4796\",\"type\":\"LinearColorMapper\"}},\"height\":{\"units\":\"data\",\"value\":1},\"line_color\":{\"value\":null},\"width\":{\"units\":\"data\",\"value\":1},\"x\":{\"field\":\"x\"},\"y\":{\"field\":\"y\"}},\"id\":\"4824\",\"type\":\"Rect\"},{\"attributes\":{\"fill_color\":{\"field\":\"correlation\",\"transform\":{\"id\":\"4763\",\"type\":\"LinearColorMapper\"}},\"height\":{\"units\":\"data\",\"value\":1},\"line_color\":{\"value\":null},\"width\":{\"units\":\"data\",\"value\":1},\"x\":{\"field\":\"x\"},\"y\":{\"field\":\"y\"}},\"id\":\"4791\",\"type\":\"Rect\"},{\"attributes\":{},\"id\":\"4779\",\"type\":\"CategoricalTicker\"},{\"attributes\":{\"grid_line_color\":null,\"ticker\":{\"id\":\"4845\",\"type\":\"CategoricalTicker\"}},\"id\":\"4847\",\"type\":\"Grid\"},{\"attributes\":{\"format\":\"%.2f\"},\"id\":\"4831\",\"type\":\"PrintfTickFormatter\"},{\"attributes\":{\"callback\":null,\"factors\":[\"PassengerId\",\"Age\",\"SibSp\",\"Parch\",\"Fare\"]},\"id\":\"4769\",\"type\":\"FactorRange\"},{\"attributes\":{\"axis_line_color\":{\"value\":null},\"formatter\":{\"id\":\"4879\",\"type\":\"CategoricalTickFormatter\"},\"major_label_standoff\":0,\"major_label_text_font_size\":{\"value\":\"9pt\"},\"major_tick_line_color\":{\"value\":null},\"ticker\":{\"id\":\"4849\",\"type\":\"CategoricalTicker\"}},\"id\":\"4848\",\"type\":\"CategoricalAxis\"},{\"attributes\":{\"source\":{\"id\":\"4789\",\"type\":\"ColumnDataSource\"}},\"id\":\"4794\",\"type\":\"CDSView\"},{\"attributes\":{},\"id\":\"4885\",\"type\":\"Selection\"},{\"attributes\":{\"format\":\"%.2f\"},\"id\":\"4798\",\"type\":\"PrintfTickFormatter\"},{\"attributes\":{},\"id\":\"4797\",\"type\":\"BasicTicker\"},{\"attributes\":{\"grid_line_color\":null,\"ticker\":{\"id\":\"4812\",\"type\":\"CategoricalTicker\"}},\"id\":\"4814\",\"type\":\"Grid\"},{\"attributes\":{\"callback\":null,\"data\":{\"correlation\":{\"__ndarray__\":\"psXW2esznD/LxrosH8eovx2ge1vPJEo/Qs0tehpFgr9G49g0fEXCv+njFstCncm/ygbUDinftz8oY2gtJTfbP1HPjmLE7dY/Y9DLR50k1T8=\",\"dtype\":\"float64\",\"shape\":[10]},\"index\":[1,2,3,4,7,8,9,13,14,19],\"x\":[\"PassengerId\",\"PassengerId\",\"PassengerId\",\"PassengerId\",\"Age\",\"Age\",\"Age\",\"SibSp\",\"SibSp\",\"Parch\"],\"y\":[\"Age\",\"SibSp\",\"Parch\",\"Fare\",\"SibSp\",\"Parch\",\"Fare\",\"Parch\",\"Fare\",\"Fare\"]},\"selected\":{\"id\":\"4885\",\"type\":\"Selection\"},\"selection_policy\":{\"id\":\"4886\",\"type\":\"UnionRenderers\"}},\"id\":\"4855\",\"type\":\"ColumnDataSource\"},{\"attributes\":{\"axis_line_color\":{\"value\":null},\"formatter\":{\"id\":\"4875\",\"type\":\"CategoricalTickFormatter\"},\"major_label_standoff\":0,\"major_label_text_font_size\":{\"value\":\"9pt\"},\"major_tick_line_color\":{\"value\":null},\"ticker\":{\"id\":\"4816\",\"type\":\"CategoricalTicker\"}},\"id\":\"4815\",\"type\":\"CategoricalAxis\"},{\"attributes\":{\"dimension\":1,\"grid_line_color\":null,\"ticker\":{\"id\":\"4816\",\"type\":\"CategoricalTicker\"}},\"id\":\"4818\",\"type\":\"Grid\"},{\"attributes\":{},\"id\":\"4776\",\"type\":\"CategoricalScale\"},{\"attributes\":{},\"id\":\"4877\",\"type\":\"CategoricalTickFormatter\"},{\"attributes\":{},\"id\":\"4879\",\"type\":\"CategoricalTickFormatter\"},{\"attributes\":{\"color_mapper\":{\"id\":\"4829\",\"type\":\"LinearColorMapper\"},\"formatter\":{\"id\":\"4831\",\"type\":\"PrintfTickFormatter\"},\"label_standoff\":6,\"location\":[0,0],\"major_label_text_font_size\":{\"value\":\"8pt\"},\"ticker\":{\"id\":\"4830\",\"type\":\"BasicTicker\"}},\"id\":\"4832\",\"type\":\"ColorBar\"},{\"attributes\":{},\"id\":\"4875\",\"type\":\"CategoricalTickFormatter\"},{\"attributes\":{\"data_source\":{\"id\":\"4855\",\"type\":\"ColumnDataSource\"},\"glyph\":{\"id\":\"4857\",\"type\":\"Rect\"},\"hover_glyph\":null,\"muted_glyph\":null,\"nonselection_glyph\":{\"id\":\"4858\",\"type\":\"Rect\"},\"selection_glyph\":null,\"view\":{\"id\":\"4860\",\"type\":\"CDSView\"}},\"id\":\"4859\",\"type\":\"GlyphRenderer\"},{\"attributes\":{\"callback\":null,\"tabs\":[{\"id\":\"4795\",\"type\":\"Panel\"},{\"id\":\"4828\",\"type\":\"Panel\"},{\"id\":\"4861\",\"type\":\"Panel\"}]},\"id\":\"4862\",\"type\":\"Tabs\"}],\"root_ids\":[\"4862\"]},\"title\":\"Bokeh Application\",\"version\":\"1.4.0\"}}\n",
       "        </script>\n",
       "        <script type=\"text/javascript\">\n",
       "          (function() {\n",
       "            var fn = function() {\n",
       "              Bokeh.safely(function() {\n",
       "                (function(root) {\n",
       "                  function embed_document(root) {\n",
       "                    \n",
       "                  var docs_json = document.getElementById('5151').textContent;\n",
       "                  var render_items = [{\"docid\":\"d650bf92-b0ec-4e32-86e5-be5802724884\",\"roots\":{\"4862\":\"2bba635d-7ef7-427d-8dde-1c75176f41f8\"}}];\n",
       "                  root.Bokeh.embed.embed_items(docs_json, render_items);\n",
       "                \n",
       "                  }\n",
       "                  if (root.Bokeh !== undefined) {\n",
       "                    embed_document(root);\n",
       "                  } else {\n",
       "                    var attempts = 0;\n",
       "                    var timer = setInterval(function(root) {\n",
       "                      if (root.Bokeh !== undefined) {\n",
       "                        clearInterval(timer);\n",
       "                        embed_document(root);\n",
       "                      } else {\n",
       "                        attempts++;\n",
       "                        if (attempts > 100) {\n",
       "                          clearInterval(timer);\n",
       "                          console.log(\"Bokeh: ERROR: Unable to run BokehJS code because BokehJS library is missing\");\n",
       "                        }\n",
       "                      }\n",
       "                    }, 10, root)\n",
       "                  }\n",
       "                })(window);\n",
       "              });\n",
       "            };\n",
       "            if (document.readyState != \"loading\") fn();\n",
       "            else document.addEventListener(\"DOMContentLoaded\", fn);\n",
       "          })();\n",
       "        </script>\n",
       "    \n",
       "  </body>\n",
       "  \n",
       "</html>"
      ],
      "text/plain": [
       "<dataprep.eda.report.Report at 0x1c25255f98>"
      ]
     },
     "execution_count": 8,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "plot_correlation(train_df)"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "From the output, we know that:\n",
    "1. The most correlated columns are Parch and SibSp, with a Pearson correlation 0.41.\n",
    "2. There does not exist two columns that are highly correlated.\n",
    "Hence, we do not need to worry much about correlated features. However, as Parch and SibSp are slightly correlated in both computation and semantics, we may want to construct a new feature named Family, based on Parch and SibSp, which counts the total family members for each passienger.\n",
    "\n",
    "**Result: Construct a new feature Family based on Parch and SibSp.**"
   ]
  }
 ],
 "metadata": {
  "kernelspec": {
   "display_name": "Python 3",
   "language": "python",
   "name": "python3"
  },
  "language_info": {
   "codemirror_mode": {
    "name": "ipython",
    "version": 3
   },
   "file_extension": ".py",
   "mimetype": "text/x-python",
   "name": "python",
   "nbconvert_exporter": "python",
   "pygments_lexer": "ipython3",
   "version": "3.7.5"
  }
 },
 "nbformat": 4,
 "nbformat_minor": 4
}
